HI all... Can someone help me with this? I'm working on a php database and have hit a wall with this safe mode. Does SuSE override php.ini somewhere? If so where? Thanks JIM ---------- Forwarded Message ---------- Subject: Re: [PHP-DB] Why? Date: Sun, 25 Aug 2002 17:16:30 +0200 From: James Hatridge <James.Hatridge@epost.de> To: "Jose Luis" <palerm@hotmail.com> HI Jose et al... On Saturday 24 August 2002 19:18, Jose Luis wrote:
Do yo have php in safe mode?
This is interesting. I used phpinfo() to check and it states that I do have PHP in safe mode. But when I look at /etc/php.ini it shows it as turned off. I've tried changing it and nothing happens. What could be wrong? BTW I'm using SuSE 8.0, mysql, & PHP4. What I'm trying to do is this command below: cat euroUSA.txt | awk '/Rates/{D=$4 ; next} {n=NF; print D "\t" $(n-1) "\t" $(n) } ' > euroUSA1.txt Is there a better way to do this the exec command? Thanks JIM
-----Mensaje original----- De: James Hatridge [mailto:James.Hatridge@epost.de] Enviado el: sábado, 24 de agosto de 2002 19:59 Para: PHP_DB Asunto: [PHP-DB] Why?
Hi all;
Can anyone tell me why the "exec" command below does not work?
Thanks,
JIM
########################### if(file_exists("euroUSA.txt")) {
if( exec('euro-update.program')) { echo "it worked!"; } else{ echo "not worked!"; } } else { echo "file is not there!\n"; } ##########################
-- 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