note 59706 rejected from function.scandir by dmytton
| From: | dmytton@php.net | Date: | Wed, 14 Dec 2005 07:45:57 +0000 |
| Subject: | note 59706 rejected from function.scandir by dmytton | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-100111@lists.php.net to get a copy of this message | ||
Note Submitter: swr9025 at rit dot edu
----
Okay, I am using this following code to get a listing of files and directories from a website and I
get nothing. Anyone tell me why?
<?php
$files = scandir( "http://www.myurl.com/folder/" );
for( $ctr = 0; $ctr = sizeof( $files ); $ctr++ ) {
echo $files[$ctr];
}
?>