note 28404 added to function.readdir
| From: | colin at rack1 dot php dot net | Date: | Sun, 12 Jan 2003 02:28:19 +0000 |
| Subject: | note 28404 added to function.readdir | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-42012@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?
--
http://www.php.net/manual/en/function.readdir.php
http://master.php.net/manage/user-notes.php?action=edit+28404
http://master.php.net/manage/user-notes.php?action=delete+28404
http://master.php.net/manage/user-notes.php?action=reject+28404