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
Hi Paul,
this should help you out
\n");
print("All Output:\n");
for ($index = 0; $index < count($AllOutput); $index++)
{
print("$AllOutput[$index] \n");
}
print("\n");
print("Return Value: $ReturnValue\n");
?>
should work a treat for you ...
cheers
Peter
> -Original 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" <[EMAIL PROTECTED]>
Date: Tuesday, July 23, 2002 3:03 pm
Subject:
3 matches
Mail list logo