note 28404 rejected from function.readdir by jmcastagnetto
| From: | jmcastagnetto@php.net | Date: | Mon, 13 Jan 2003 21:04:20 +0000 |
| Subject: | note 28404 rejected from function.readdir by jmcastagnetto | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-42082@lists.php.net to get a copy of this message | ||
When displaying all the contents of a directory though, if you do a code like say
$list .= "<tr><td width=700><center><a
href=$file>$file</a></center></td></tr>";
All the URL's will stop upon the first space. How would you look for a space, and then replace
it with %20 as needed in the HREF part of the code?