Re: Newbie: Reading unix directory information from PHP

From: Date: Tue, 23 Jul 2002 23:17:33 +0000
Subject: Re: Newbie: Reading unix directory information from PHP
Groups: php.general 
Request: Send a blank email to php-general+get-109166@lists.php.net to get a copy of this message
Maybe opendir() and readdir() would work for you? opendir(): http://www.php.net/manual/en/function.opendir.php readdir(): http://www.php.net/manual/en/function.readdir.php Jason Soza ----- Original Message ----- From: "Paul Oh" <poh@cisco.com> Date: Tuesday, July 23, 2002 3:03 pm Subject: [PHP] Newbie: Reading unix directory information from PHP > Hi, I'm just starting to learn PHP. I couldn't find how to > execute unix > command and read the result. Basically, I just want to execute > "ls -lrt" > and read and display the output. > > This may be very simple question, but for some reason, I couldn't > find any > info on executing unix command from PHP. > > Thanks. > > -Paul > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > >

« previous php.general (#109166) next »