note 21064 rejected from features.remote-files by alindeman
| From: | alindeman@php.net | Date: | Sat, 27 Apr 2002 18:22:57 +0000 |
| Subject: | note 21064 rejected from features.remote-files by alindeman | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-29929@lists.php.net to get a copy of this message | ||
i've been trying to get a path as a variable and all that:
$handle=opendir(".");
$count = 0;
while ($file = readdir($handle)) {
$CheckArray = FileStats($file);
if (($CheckArray[0] === "image-jpeg" || $CheckArray[0] == "image-gif")
&& $file != $blank) {
$retVal[$count] = $file;
$count++;
}
}
i want it to open a remote path. any ideas how?