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" <[EMAIL PROTECTED]>
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: [EMAIL PROTECTED]               (   )   Oooo.
> --------------------------------------------\ (----(   )-----
>                                              \_)    ) /
>                                                    (_/
>
>
> --
> PHP General 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 General 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]

Reply via email to