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 .
[Back to original message]
|