You are here: Re: File Name case check « PHP Programming Language « IT news, forums, messages
Re: File Name case check

Posted by SOR on 07/13/05 05:15

<comp.lang.php , Al Kolff , alkolff@spam.sucks.earthlink.net>
<kZXAe.2562$dU3.1802@newsread2.news.pas.earthlink.net>
<Tue, 12 Jul 2005 23:01:36 GMT>

> I also usually use all lowercase file names. But, I down loaded the
> ISchoolAd scripts.
> and in some pages the filenames are capitalized and in others they are not.
> Same for folder names. Same for filenames.
> Because I loaded and checked it on my Windows machine it worked fine .When I
> uploaded it to the Linux based server there have been all kinds of
> interesting things going on. So I thought someone else must have had the
> same problem. And maybe they had written a search and replace that compared
> file/folder names with scripts and corrected or highlighted them.
>

It doesnt sound too hard to write .

- find a php display folders loop like the one on www.phpemail.co.uk and
adapt it to suit

- grab the filename of each file

- check for uppercase characters

- change to lowercase if needed and edit/save the filename

Somebody more experienced can tell you how to 'also' check the sub
folders if you want to do it that way .

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация