[PHP] safe_mode problem

2003-09-24 Thread Peter Torraca
I can't seem to get safe_mode working the way I need it to. I'm trying to allow users to include PEAR from their local webspace without disabling safe_mode. The docs tell me to simply use the safe_mode_include_dir directive, but php does not seem to be using it. Here's my config, set up in

Re: [PHP] Safe_Mode problem....

2002-09-03 Thread timo stamm
Hi Jim, I had the very same strange issue with a cfg var not changing. It worked after using ini_restore(). (I played around with ini_set() before. Did you as well?) I am not sure if it has anything to do with it. It sounds pretty illogical. But PHP ignoring a setting in php.ini sounds

[PHP] Safe_Mode problem....

2002-09-02 Thread Jim Hatridge
HI all... I'm trying to use exec and unlink in one of my PHP programs. Here is the code: if (exec ('euro-update.program')) { $result = mysql_query(load data local infile 'euroAUD1.txt' into table Money_AUD) or die (AUD Load did not work.);

Re: [PHP] Safe_Mode problem....

2002-09-02 Thread Chris Hewitt
Jim Hatridge wrote: Can someone give me an idea what next to do? Either how to turn off safe_mode or a work around on the code. BTW I'm using SuSE 8.0, PHP, and Mysql on a self-made PI/233. Jim, If you have changed safe_mode in php.ini and phpinfo() still reports it as on, then I would