RE: [PHP] Re: The Naming of Directories

From: Date: Thu, 04 Aug 2005 17:53:40 +0000
Subject: RE: [PHP] Re: The Naming of Directories
Groups: php.general 
Request: Send a blank email to php-general+get-220024@lists.php.net to get a copy of this message
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@satyam.com.ar] Sent: 04 August 2005 18:07 To: php-general@lists.php.net Subject: [PHP] Re: The Naming of Directories ************************************* This e-mail has been received by the Revenue Internet e-mail service. ************************************* ""Mark Rees"" <mrees@itsagoodprice.com> wrote in message news:37.06.04646.FB1D1F24@pb1.pair.com... > "Tom Chubb" <tomchubb@gmail.com> wrote in message > news:4577934f05080401142d97de96@mail.gmail.com... > 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 *************************

« previous php.general (#220024) next »