[PHP-DB] PHP Safe Mode ...

2003-09-07 Thread James Hatridge
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", "", "Z");
  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

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



Re: [PHP-DB] PHP safe mode

2002-01-27 Thread Jason Wong

On Monday 28 January 2002 04:43, CrossWalkCentral wrote:
> Question?
> What is php safe mode.
>
> I have heard that it will allow you to pass information to a mysql database
> w/o a user name and pass.
>
> Has any one heard of this. I am just curious. I would not use it but if
> this is something that is true I would like that could be a security
> problem.
>
> let me know

Manual -> Chapter -> Safe Mode


-- 
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk

/*
"I'd love to go out with you, but I've been scheduled for a karma transplant."
*/

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DB] PHP safe mode

2002-01-27 Thread CrossWalkCentral

Question?
What is php safe mode.

I have heard that it will allow you to pass information to a mysql database w/o a user 
name and pass.

Has any one heard of this. I am just curious. I would not use it but if this is 
something that is true I would like that could be a security problem.

let me know

Cross Walk Central
www.crosswalkcentral.net
Your Web Hosting Community!