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:
Hi Paul,
this should help you out
?php
$LastLine = exec(ls -lrt, $AllOutput, $ReturnValue);
print(Last Line: $LastLine BR\n);
print(All Output:BR\n);
for ($index = 0; $index count($AllOutput); $index++)
{
print($AllOutput[$index] BR\n);
}
print(BRBR\n);
print(Return Value:
To: Paul Oh; [EMAIL PROTECTED]
Subject: RE: [PHP] Newbie: Reading unix directory information from PHP
Hi Paul,
this should help you out
?php
$LastLine = exec(ls -lrt, $AllOutput, $ReturnValue);
print(Last Line: $LastLine BR\n);
print(All Output:BR\n);
for ($index = 0; $index count
3 matches
Mail list logo