4 July 2002 9:23 AM
> To: Paul Oh; [EMAIL PROTECTED]
> Subject: RE: [PHP] Newbie: Reading unix directory information from PHP
>
>
> Hi Paul,
>
> this should help you out
>
> $LastLine = exec("ls -lrt", $AllOutput, $ReturnValue);
>
> print("Last Line: $L
for you ...
cheers
Peter
> -Original Message-
> From: Paul Oh [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, 24 July 2002 9:04 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP] Newbie: Reading unix directory information from PHP
>
>
> Hi, I'm just starting to learn PHP.
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 out
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.
4 matches
Mail list logo