Re: PHP4 CGI Problem

From: Date: Sat, 10 Mar 2001 02:45:32 +0000
Subject: Re: PHP4 CGI Problem
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-43279@lists.php.net to get a copy of this message
Is the PHP User allowed to ls that directory? -- Visit the Zend Store at http://www.zend.com/store/ Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm Volunteer a little time: http://chatmusic.com/volunteer.htm ----- Original Message ----- From: "Devin Atencio" <dreamboy@aros.net> Newsgroups: php.general Sent: Friday, March 09, 2001 12:19 PM Subject: [PHP] PHP4 CGI Problem > > I am running PHP 4.0.4pl1 as a CGI and I have a PHP file that is something > like this: > > #!/usr/local/bin/php4 > <? > > passthru("/bin/ls -al /home/devin/*"); > > ?> > > but for some reason it doesn't return anything in the browser, but when > I run the php file from unix it works just fine, any ideas? > > > /'^'\ > ( o o ) > ------------------------------------------oOOO--(_)--OOOo---- > Devin Atencio > ArosNet Systems Administration .oooO > EMail: dreamboy@aros.net ( ) Oooo. > --------------------------------------------\ (----( )----- > \_) ) / > (_/ > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#43279) next »