Why exit() funtion always exit with 255 value instead of the passed
value, in php 4.2.2, even when I compile with --enable-cli.
Check the code bellow, to see
# cat t3.php
#!/usr/src/php-4.2.2/php
?php
echo Version: ,phpversion(),\n;
exit(1);
?
# ./t3.php ; echo last run exit value:$?
Version:
\+ does not work too, php treat command line arguments as a POST/GET ,
so I should urlencode/urldecode, I would like to know if there is a
alway to turn this behavior off.
Thanks any way.
Renato
Richard Lynch wrote:
Any one know why the + (plus sign) is not passed as argument to
$argv
testing sorry...
Richard Lynch wrote:
Hi guys,
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
Any one know why the + (plus sign) is not passed as argument to
$argv when calling a php script from linux shell ?
if this is not a bug, how do I pass a + as argument ?
should I use urlencode/urldecode ?
is that any php.ini variable to turn off this behavior ?
try this and you
to be duplicated in every
VirtualDomain hosted.
Can you help me out with this ?
Rasmus Lerdorf wrote:
There is no such feature.
On Mon, 4 Mar 2002, Renato Lins wrote:
Sorry, I may not haven been clear.
What should I do to include from a safe area (/myuser/safe) when I have
open_basedir set
Some one can help me Why this is not working ?
# apache conf
Directory /myuser/public_html/
php_admin_flag safe_mode on
php_admin_value safe_mode_include_dir /myuser/safe/
php_admin_value doc_root /myuser/public_html/
php_admin_value open_basedir /myuser/public_html/:/tmp/
/Directory
#cat
Sorry, I may not haven been clear
What should I do to include from a safe area (/myuser/safe) when I have
open_basedir set to other path (/myuser/public_html) ?
Rasmus Lerdorf wrote:
open_basedir doesn't take a list of paths
On Mon, 4 Mar 2002, Renato Lins wrote:
Some one can help me Why
7 matches
Mail list logo