[snip]
May be you can look at exec() function:
http://www.php.net/manual/en/function.exec.php
[/snip]

>From that page...

Note: When safe mode is enabled, you can only execute executables within
the safe_mode_exec_dir. For practical reasons it is currently not
allowed to have .. components in the path to the executable. 

Warning 
With safe mode enabled, all words following the initial command string
are treated as a single argument. Thus, echo y | echo x becomes echo "y
| echo x".
 
[snip from original]
> Warning: shell_exec(): Cannot execute using backquotes in Safe Mode in
> /var/www/html/swap/swap.php on line 3
[/snip]

He goes on to say that safe mode is not enabled on his machine in his
php.ini, but perhaps he has more than one and is looking at the wrong
one. What is thelocation of the php.ini when you run phpinfo()?

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to