I believe %20 and + are used to replace spaces. See RFC 1738 - Uniform Resource Locators (URL) http://www.faqs.org/rfcs/rfc1738.html C. -----Original Message----- From: Satyam [mailto:satyam@xxxxxxxxxxxxx] Sent: 04 August 2005 18:07 To: php-general@xxxxxxxxxxxxx Subject: Re: The Naming of Directories ************************************* This e-mail has been received by the Revenue Internet e-mail service. ************************************* ""Mark Rees"" <mrees@xxxxxxxxxxxxxxxxx> wrote in message news:37.06.04646.FB1D1F24@xxxxxxxxxxxxxxx > "Tom Chubb" <tomchubb@xxxxxxxxx> wrote in message > news:4577934f05080401142d97de96@xxxxxxxxxxxxxxxxx > This may be slightly OT, but I've modified a gallery script that I had > written for me which reads directories and echos the dir name as a > gallery. > Unfortunately, it doesn't look very nice with say picsofsomething so I > renamed the folder 'pics of something' > When this is read, the string inserts %20 for the spaces, which is > fine, but are there any reasons why I shouldn't be doing this? > Many thanks, > > -------------- > > A while back, this would have been liable to cause problems in Netscape > (v3/4). I don't think it makes so much difference these days, but I just > avoid it out of habit. You can get a more readable effect wihout spaces by > using an underscore, say, in the directory name, and when you need to > print > it to screen, replace the underscores with spaces > -------------- > Tom Wasn't the plus sign the replacement for a space? Pics+of+something is more readable. Satyam -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php ************************ This message has been delivered to the Internet by the Revenue Internet e-mail service ************************* -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php