PHP Safe Mode ...
| From: | James Hatridge | Date: | Sun, 07 Sep 2003 14:31:09 +0000 |
| Subject: | PHP Safe Mode ... | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-30402@lists.php.net to get a copy of this message | ||
Hi all,,,
I'm having hell with this !"§$ PHP safe mode. It seems that SuSE complies PHP
with safe mode = on. THEREFORE the config file "php.ini" can not turn it off.
Can someone who is using PHP & exec in SuSE 8.2 give me an idea how they are
doing it? OR how to work around this.
Here is my code:
$db = mysql_connect("XXX", "YYYY", "ZZZZZ");
mysql_select_db("WartHog",$db);
if (file_exists('AUD.txt')){
exec('euro-update.program') or die ('didnt work #1') ;
}
else
{
echo('File not there');
}
Thanks,
JIM
--
Jim Hatridge
Linux User #88484
------------------------------------------------------
BayerWulf
Linux System # 129656
The Recycled Beowulf Project
Looking for throw-away or obsolete computers and parts
to recycle into a Linux super computer
Viel Feind -- Viel Ehr'
Anti-US Propaganda stamp collecton
http://www.fuzzybunnymilitia.org/~hatridge/collection