-Original Message-
From: Maxim Maletsky
Sent: Thursday, January 11, 2001 2:26 PM
To: 'Steve Edberg'; Jon Rosenberg; PHP List .
Subject: RE: [PHP] case ?
'require' ALWAYS includes the file; 'include' is what you want here.
not since v4.0.2(?) came out ...
I heard from Zeev that require() and include
w.php.net/preg_replace
-steve
(The usual off-the-top-of-my-head-untested-code-snippet caveats apply)
+----+
| Steve Edberg University of California, Davis |
| [EMAIL PROTECTED]
dles type conversion correctly on-the-fly.
- steve
+--- "They've got a cherry pie there, that'll kill ya" --+
| Steve Edberg University of California, Davis |
| [EMAIL PROTECTED] Computer Consultant
it to my server at work. Does
anyone know of a script of some sort that will go to my site, copy all the
files to a specified folder, and follow my internal links? Thanks for the
info.
--
+--- "They've got a cherry pie there, that'll kill ya" --+
| St
er web development languages have an equivalent
construct to PHP's htmlentities().
Also, the value of a textarea tag is not put in a 'value' attribute
within the tag as with the INPUT tag; it is put in the textarea
'container' - that is, between the textarea and /textarea tags.
- steve
--
+-
I getting tired, and I don't even think an
intravenous drip of concentrated Mountain Dew syrup will help.
- steve
--
+--- "They've got a cherry pie there, that'll kill ya" --+
| Steve Edberg University of California, Davis |
| [EMAIL
_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
--
+--- "They've got a cherry pie there, that'll kill ya" --+
| Steve Edberg University of
An: [EMAIL PROTECTED]
Betreff: [PHP] eval() to string???
I want to evaluate some PHP code to a string. How can I do this?
$php_code = "echo 'hello';"
I would like to evaluate the code to "hello" in another string...
--
--
+--- "They've got a cherry pie there, that'l
that'll kill ya" ------+
| Steve Edberg University of California, Davis |
| [EMAIL PROTECTED] Computer Consultant |
| http://aesric.ucdavis.edu/ http://pgfsun.ucdavis.edu/ |
+-- FB
uot;They've got a cherry pie there, that'll kill ya" ------+
| Steve Edberg University of California, Davis |
| [EMAIL PROTECTED] Computer Consultant |
| http://aesric.ucdavis.edu/ http:
http://www.php.net/manual/en/language.types.array.php
for more information.
- steve
--
+--- "They've got a cherry pie there, that'll kill ya" --+
| Steve Edberg University of California, Davis |
| [EMAIL PROTECTED]
llects.com
--
+--- "They've got a cherry pie there, that'll kill ya" ------+
| Steve Edberg University of California, Davis |
| [EMAIL PROTECTED] Computer Consultant |
| http://aesric.ucdavis.edu/ http:
At 10:50 AM + 1/29/01, Tim Ward wrote:
-Original Message-
From: Steve Edberg [mailto:[EMAIL PROTECTED]]
Sent: 25 January 2001 22:02
To: Matt; [EMAIL PROTECTED]
Subject: Re: [PHP] VAR and variables
At 3:00 PM -0600 1/25/01, Matt wrote:
I have a question that may seem
that - via telnet to port 80, for example, or via PHP (see the
posttohost function at one of the code libraries - see px.sklar.com,
or phpbuilder.com, or on of the other resources).
- steve
--
+--- "They've got a cherry pie there, that'll kill ya" --+
| St
down at "," so I can actually
have a drop down menu
Thanks ahead:
Gerry Figueroa
------
Modern Confucius:
Man who run in front of car get tired.
--
--
+--- "They've got a cherry pie there, that'll kill ya&
-- teodor
--
+--- "They've got a cherry pie there, that'll kill ya" --+
| Steve Edberg University of California, Davis |
| [EMAIL PROTECTED] Computer Consultant |
| http://aesric.ucdavis.edu/
nti-virus system (http://www.grisoft.com).
Version: 6.0.230 / Virus Database: 111 - Release Date: 25-Jan-01
+----+
| Steve Edberg University of California, Davis |
| [EMAIL PROTECTED]
(phplib.netuse.de).
-steve
Jack
[EMAIL PROTECTED]
"There is nothing more rewarding than reaching the goal you set for yourself"
--
+--- "They've got a cherry pie there, that'll kill ya" ------+
| Steve Edberg University
y pie there, that'll kill ya" --+
| Steve Edberg University of California, Davis |
| [EMAIL PROTECTED] Computer Consultant |
| http://aesric.ucdavis.edu/ http://pgfsun.u
of manned spaceflight ---+
| Steve Edberg University of California, Davis |
| [EMAIL PROTECTED] Computer Consultant |
| http://aesric.ucdavis.edu/ http://pgfsun.ucdavis.edu/ |
+-- www.yuri
for some strange reasons it tries to access my web direcorty
that does not contain any file, and i get the 404 page not found
error.
any help would do,
Thanks
Caleb
--
++
| Steve Edberg
)
**
Abraxas Technologies Inc.
Homepage : http://www.abraxastech.com
Email : [EMAIL PROTECTED]
Tel : 91-4546512/4522124
***
--
++
| Steve Edberg
to be a fixed width.
I want all numbers to be 2 characters in width to the left of the
decimal point.
1 should be 01
2 should be 02
3 should be 03
How can I do this?
++
| Steve Edberg
Killmer
NetgainTechnology.com
++
| Steve Edberg [EMAIL PROTECTED] |
| Database/Programming/SysAdmin(530)754-9127 |
| University of Californi
: +45 3325 0688
Fax: +45 3325 0677
Web: www.explodingnet.com
--
++
| Steve Edberg [EMAIL PROTECTED] |
| University of California, Davis (530)754-9127
...
--
++
| Steve Edberg [EMAIL PROTECTED] |
| University of California, Davis (530)754-9127 |
| Programming/Database/SysAdmin http://pgfsun.ucdavis.edu
6144012
--
++
| Steve Edberg [EMAIL PROTECTED] |
| University of California, Davis (530)754-9127 |
| Programming/Database/SysAdmin http://pgfsun.ucd
++
| Steve Edberg [EMAIL PROTECTED] |
| Database/Programming/SysAdmin(530)754-9127 |
| University of California, Davis http://pgfsun.ucdavis.edu/ |
+-- Gort, Klaatu barada nikto! --+
--
++
| Steve Edberg [EMAIL PROTECTED] |
| University of California, Davis (530)754-9127 |
| Programming/Database/SysAdmin http://pgfsun.ucdavis.edu
point in time. I am wondering what the different approaches to this
problem are.
Thanks
Ken
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
++
| Steve Edberg
times his name appears. In short, PHP sprang from his
brain. Now, it springs from many brains.
-steve
++
| Steve Edberg [EMAIL PROTECTED] |
| Database/Programming/SysAdmin
--
++
| Steve Edberg [EMAIL PROTECTED] |
| University of California, Davis (530)754-9127 |
| Programming/Database/SysAdmin http://pgfsun.ucdavis.edu
['C.CourseName'];
}
-steve
--
++
| Steve Edberg [EMAIL PROTECTED] |
| University of California, Davis (530)754-9127 |
| Programming/Database/SysAdmin http
a
relatively new (= version 4.0.3) function mysql_fetch_assoc() which
does what you want...return ONLY the associated indexes. See:
http://www.php.net/manual/en/function.mysql-fetch-assoc.php
-steve
Steve Edberg [EMAIL PROTECTED] wrote in message
news:p05100300b943f2a7feef@[168.150.239.37
--
++
| Steve Edberg [EMAIL PROTECTED] |
| University of California, Davis (530)754-9127 |
| Programming/Database/SysAdmin http://pgfsun.ucdavis.edu
...
--
++
| Steve Edberg [EMAIL PROTECTED] |
| University of California, Davis (530)754-9127 |
| Programming/Database/SysAdmin http://pgfsun.ucdavis.edu
Dave
--
++
| Steve Edberg [EMAIL PROTECTED] |
| University of California, Davis (530)754-9127 |
| Programming/Database/SysAdmin http://pgfsun.ucd
the array using each() in a
loop, and use only every OTHER array entry...but this is really funky
and you shouldn't do it this way anymore.
-steve
?? Thanks,
Henning Sittler
www.inscriber.com
--
++
| Steve
, Administrador, DBA | Centro de Telematica
Universidad Nacional
del Litoral
-
--
++
| Steve Edberg
/products/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
++
| Steve Edberg [EMAIL PROTECTED] |
| University of California, Davis
s called global.
Usage:
global $variable_a;
global $variable_b;
global $variable_c;
...
HTH,
Dw.
--
++
| Steve Edberg [EMAIL PROTECTED] |
| University of Californi
--
++
| Steve Edberg [EMAIL PROTECTED] |
| University of California, Davis (530)754-9127 |
| Programming/Database/SysAdmin http://pgfsun.ucdavis.edu
only affected session, cookie and get type
variables? Why is PHP ignoring the variables passed via the URL?
'variables passed via the URL' = 'GET variables'
-steve
--
++
| Steve Edberg
to a separated
file. But it slow!
I wonder if i can open 10 connnect (or more) in parallel?
Thanks in advance.
NoWhErEMaN
--
++
| Steve Edberg [EMAIL PROTECTED] |
| University of California
version = 4.0.5) you can use array_reduce() in conjunction with the
count() function.
If these values are coming from a database, most databases have aggregate
functions to do sums, averages, etc.
-steve
++
| Steve Edberg
[EMAIL PROTECTED]
++
| Steve Edberg [EMAIL PROTECTED] |
| Database/Programming/SysAdmin(530)754-9127 |
| University of California, Davis http
/pcre.pattern.modifiers.php
-steve
++
| Steve Edberg [EMAIL PROTECTED] |
| Database/Programming/SysAdmin(530)754-9127 |
| University of California, Davis http
using
PHP via a website?? I have already thought of a way but seems a little long
winded.
Thanks in advance.
--
++
| Steve Edberg [EMAIL PROTECTED] |
| University of California, Davis
--
++
| Steve Edberg [EMAIL PROTECTED] |
| University of California, Davis (530)754-9127 |
| Programming/Database/SysAdmin http://pgfsun.ucdavis.edu
it be possible to add an optional parameter to ucwords which would
be an array of words to skip? i would think this would be useful to
many.
any thoughts?
--
+ Open source questions? +
| Steve Edberg University of California
You Yahoo!?
Get email alerts NEW webcam video instant messaging with Yahoo!
Messenger. http://im.yahoo.com
--
+ Open source questions? +
| Steve Edberg University of California, Davis |
| [EMAIL PROTECTED
procedures).
If you can deal with the 'lowest common denominator' approach, use
ODBC. Or, as you mentioned, use one of the db wrapper classes
available in PHPLIB, PEAR or Metabase.
-steve
--
+ Open source questions? +
| Steve Edberg
, or .htaccess (whatever's appropriate in your
setup).
Hope that helps -
- steve edberg
--
+--- my people are the people of the dessert, ---+
| Steve Edberg [EMAIL PROTECTED] |
| University of California, Davis
http://php.he.net/manual/en/function.getimagesize.php
At 9:46 PM + 11/29/01, cosmin laslau wrote:
Hi,
Is there any function or command in PHP that will return the width
an image (GIF)?
Thanks.
--
++
| Steve
[EMAIL PROTECTED]
--
++
| Steve Edberg [EMAIL PROTECTED] |
| University of California, Davis (530)754-9127 |
| Programming/Database/SysAdmin http
.
Thanks
Yoed
--
++
| Steve Edberg [EMAIL PROTECTED] |
| University of California, Davis (530)754-9127 |
| Programming/Database/SysAdmin http
.
--
++
| Steve Edberg [EMAIL PROTECTED] |
| University of California, Davis (530)754-9127 |
| Programming/Database/SysAdmin http://pgfsun.ucdavis.edu
() and then you can
run through a pre-defined array and just do an ereg_replace()
on those words you want to remain lowercase...
Or something like that...
Chris
--
+-- Factoid: Of the 100 largest economies in the world, 51 are --+
| Steve Edberg University
.([[:space:]]+),
\\1.$Word.\\2, $String);
return $String; # LINE B
}
thanks!
- Mark
--
+-- Factoid: Of the 100 largest economies in the world, 51 are --+
| Steve Edberg University of California, Davis |
| [EMAIL PROTECTED
.
--
+ Open source questions? +
| Steve Edberg University of California, Davis |
| [EMAIL PROTECTED] Computer Consultant |
| http://aesric.ucdavis.edu/ http://pgfsun.ucdavis.edu
;
?
What is wrong? I need php as a modul but what do I do
wrong, I did everything according to install.txt in php
directory.
Thank you
Youri
God is our provider
http://www.body-builders.org
--
+ Open source questions? +
| Steve Edberg
.
- steve
--
+ Open source questions? +
| Steve Edberg University of California, Davis |
| [EMAIL PROTECTED] Computer Consultant |
| http://aesric.ucdavis.edu/ http
*$Something) ==
$Something; }
should work.
-steve
++
| Steve Edberg University of California, Davis |
| [EMAIL PROTECTED] (530)754-9127 |
| http
];
or
print Some text here .$fp[$i]. more text here;
instead.
-lk6-
http://www.StupeedStudios.f2s.com
Home of the burning lego man!
ICQ: 115852509
MSN: [EMAIL PROTECTED]
AIM: legokiller666
--
+ Open source questions? +
| Steve Edberg
?
--
+ Open source questions? +
| Steve Edberg University of California, Davis |
| [EMAIL PROTECTED] Computer Consultant |
| http://aesric.ucdavis.edu/ http://pgfsun.ucdavis.edu
want this redirection to
happen at the server and not the client.
--
+ Open source questions? +
| Steve Edberg University of California, Davis |
| [EMAIL PROTECTED] Computer Consultant |
| http
-steve
At 1:00 PM -0400 9/10/01, Ken wrote:
At 08:11 AM 9/10/01 -0700, Steve Edberg wrote:
Right off the top of my head, you have three options that I can see:
(3) Use a META REFRESH tag. For example:
META HTTP-EQUIV=refresh CONTENT=1;page.php
where 1 is the time (in seconds) before you
running apache and php4
poppy
--
+ Open source questions? +
| Steve Edberg University of California, Davis |
| [EMAIL PROTECTED] Computer Consultant |
| http://aesric.ucdavis.edu
n source questions? +
| Steve Edberg University of California, Davis |
| [EMAIL PROTECTED] Computer Consultant |
| http://aesric.ucdavis.edu/ http://pgfsun.ucdavis.edu/ |
+--- http://pgfsun.ucdavis.
any one know how to run this job?
--
+ Open source questions? +
| Steve Edberg University of California, Davis |
| [EMAIL PROTECTED] Computer Consultant |
| http://aesric.ucd
scripts and need them to execute from a master php script.
any help?
Thanks all,
Yours Hans.
--
+ Open source questions? +
| Steve Edberg University of California, Davis |
| [EMAIL PROTECTED
At 1:49 PM +0200 9/21/01, [EMAIL PROTECTED] wrote:
lets have a php-beer for all the dot.com unenployed!
My PHP 4.0.5 doesn't have php_beer() function :( Is that available
in CVS tree?
--
+ Open source questions? +
| Steve Edberg
are --+
| Steve Edberg University of California, Davis |
| [EMAIL PROTECTED] Computer Consultant |
| http://aesric.ucdavis.edu/ http://pgfsun.ucdavis.edu/ |
+--- corporations -- http://www.ips-dc.org/reports/top200text.htm
://mjchristianunlimited.com
--
+-- Factoid: Of the 100 largest economies in the world, 51 are --+
| Steve Edberg University of California, Davis |
| [EMAIL PROTECTED] Computer Consultant |
| http://aesric.ucdavis.edu
-
--
+-- Factoid: Of the 100 largest economies in the world, 51 are --+
| Steve Edberg University of California, Davis |
| [EMAIL PROTECTED] Computer Consultant |
| http://aesric.ucdavis.edu/ http://pgfsun.ucdavis.edu
largest economies in the world, 51 are --+
| Steve Edberg University of California, Davis |
| [EMAIL PROTECTED] Computer Consultant |
| http://aesric.ucdavis.edu/ http://pgfsun.ucdavis.edu/ |
+--- corporations -- http
Chad
--
+-- Factoid: Of the 100 largest economies in the world, 51 are --+
| Steve Edberg University of California, Davis |
| [EMAIL PROTECTED] Computer Consultant |
| http://aesric.ucdavis.edu/ http://pgfsun.ucd
to blame ourselves for all of
our programs crashing
--
+-- Factoid: Of the 100 largest economies in the world, 51 are --+
| Steve Edberg University of California, Davis |
| [EMAIL PROTECTED] Computer Consultant |
| http
are --+
| Steve Edberg University of California, Davis |
| [EMAIL PROTECTED] Computer Consultant |
| http://aesric.ucdavis.edu/ http://pgfsun.ucdavis.edu/ |
+--- corporations -- http://www.ips-dc.org/reports/top200text.htm
);
}
}
--
+-- Factoid: Of the 100 largest economies in the world, 51 are --+
| Steve Edberg University of California, Davis |
| [EMAIL PROTECTED] Computer Consultant |
| http://aesric.ucdavis.edu/ http://pgfsun.ucdavis.edu
Solutions
Phone 305.665.2500
Fax 305.665.2551
www.innovativeinternet.com
www.web56.net
--
+-- Factoid: Of the 100 largest economies in the world, 51 are --+
| Steve Edberg University of California, Davis |
| [EMAIL PROTECTED] Computer
of the packages, thinking it had something to do
with a windows dll file or something annoying like that but no luck.
Any ideas? Anyone encountered a problem like this?
Thanks,
Greg
--
+-- Factoid: Of the 100 largest economies in the world, 51 are --+
| Steve Edberg
in the world, 51 are --+
| Steve Edberg University of California, Davis |
| [EMAIL PROTECTED] Computer Consultant |
| http://aesric.ucdavis.edu/ http://pgfsun.ucdavis.edu/ |
+--- corporations -- http://www.ips-dc.org/reports
- "They've got a cherry pie there, that'll kill ya" --+
| Steve Edberg University of California, Davis |
| [EMAIL PROTECTED] Computer Consultant |
| http://aesric.ucdavis.edu/ http://pgfsun.ucdavis.edu/ |
+-
--
Richard Crawford (mailto:[EMAIL PROTECTED])
http://www.mossroot.com AIM Handle: Buffalo2K
"Tomorrow, we'll seize the day and throttle it!" -Calvin
--
+--- "They've got a cherry pie there, that'll kill ya" --+
| Steve Edberg University o
s in CGI.
http://www.xy.com/index.php?contents=HOME
contents should be available as variable, but it does not seem to
work. Doe
anyone has an idea why not?
--
+--- "They've got a cherry pie there, that'll kill ya" --+
| Steve Edberg Un
nfo.
-steve
Felipe Lopes
MailBR - O e-mail do Brasil -- http://www.mailbr.com.br
Faa j o seu. gratuito!!!
--
+--- "They've got a cherry pie there, that'll kill ya" --+
| Steve Edberg University of California, Davis |
| [EMAIL PROTECTED]
$this-attributes[] = array("cellpadding", "0");
otherwise, PHP thinks $attributes is a variable local to that
function, rather that a class variable.
-steve
--
Regards,
Harshdeep Singh Jawanda.
--
+--- "They've got a cherry pie there, that'll kill ya" ---
use
php_admin_value instead of php_value). This is available in php
4.0.4; I don't know about availability in earlier versions. I don't
use this, though, so I'm just copying from the provided .ini file.
-steve
--
+--- "They've got a cherry pie there, that'll kill ya"
e got a cherry pie there, that'll kill ya" --+
| Steve Edberg University of California, Davis |
| [EMAIL PROTECTED] Computer Consultant |
| http://aesric.ucdavis.edu/ http://pgfsun.u
back and look up the e-mail that the info was in
:)
*Gets ready to duck* :)
--
+--- my people are the people of the dessert, ---+
| Steve Edberghttp://pgfsun.ucdavis.edu/ |
| UC Davis Genome Center
]];
if ($value == 5 some_other_test()) {
$value = $NotJustNumbers[$Keys[--$i]];
}
echo Value: $value . PHP_EOL;
}
- steve
--
+--- my people are the people of the dessert, ---+
| Steve Edberghttp
are the people of the dessert, ---+
| Steve Edberghttp://pgfsun.ucdavis.edu/ |
| UC Davis Genome Center[EMAIL PROTECTED] |
| Bioinformatics programming/database/sysadmin (530)754-9127 |
+ said t e lawrence
people are the people of the dessert, ---+
| Steve Edberghttp://pgfsun.ucdavis.edu/ |
| UC Davis Genome Center[EMAIL PROTECTED] |
| Bioinformatics programming/database/sysadmin (530)754-9127 |
+ said
article:
http://www.xmlhack.com/read.php?item=1681
Disclaimer: I've never used any of those tools, so YMMV, IANAL, RTFM,
LOL, etc...
steve
--
+--- my people are the people of the dessert, ---+
| Steve Edberghttp
of the dessert, ---+
| Steve Edberghttp://pgfsun.ucdavis.edu/ |
| UC Davis Genome Center[EMAIL PROTECTED] |
| Bioinformatics programming/database/sysadmin (530)754-9127 |
+ said t e lawrence, picking
.
The cronjob could be written in any language, but since this is a PHP
list you'll have to promise to write it in PHP ;)
steve
--
+--- my people are the people of the dessert, ---+
| Steve Edberghttp://pgfsun.ucdavis.edu/ |
| UC Davis Genome
);
}
list($a,$b) = test();
works as above. Works fine with complex arrays as well:
function test() {
return array(1,array('a','b'));
}
list($a,$b) = test();
steve
--
+--- my people are the people of the dessert, ---+
| Steve Edberg
, ---+
| Steve Edberghttp://pgfsun.ucdavis.edu/ |
| UC Davis Genome Center[EMAIL PROTECTED] |
| Bioinformatics programming/database/sysadmin (530)754-9127 |
+ said t e lawrence, picking up his fork
/
- useful.
steve
--
+--- my people are the people of the dessert, ---+
| Steve Edberghttp://pgfsun.ucdavis.edu/ |
| UC Davis Genome Center[EMAIL PROTECTED] |
| Bioinformatics programming/database/sysadmin
1 - 100 of 149 matches
Mail list logo