Re: The Naming of Directories

From: Date: Thu, 04 Aug 2005 17:06:55 +0000
Subject: Re: The Naming of Directories
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-220023@lists.php.net to get a copy of this message
""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

« previous php.general (#220023) next »