Reply to Re: Case insensitive

Your name:

Reply:


Posted by Luigi Donatello Asero on 09/19/05 02:25

"Joseph Melnick" <jmelnick@jphp.com> skrev i meddelandet
news:OOadnSnnAcqudbDeRVn-sw@rogers.com...
> Hello Luigi, You wrote:
> "Luigi Donatello Asero" <jaggillarfotboll@telia.com> wrote in message
> news:sPjXe.146577$dP1.503262@newsc.telia.net...
> >
> > How do I make JPG case insensitive in this expression?
> >
> > <a href="https://www.scaiecat-spa-gigi.com/it/svezia.html">
> > <?php
> >
$picture='https://www.scaiecat-spa-gigi.com/bilder/bilder-hemsida/'.date('m-
> > d').'.JPG';
> > print("<img src='$picture' alt=\"Amundön\"/ WIDTH=\"230\"/
> > HEIGHT=\"230\"></a>")
> > ;
> > ?>
> >
> >
> > --
> > Luigi Donatello Asero
> > (sono italiano ma vivo in Svezia)
> > (? ????????? ?? ? ???? ? ?????? )
> > (?? ???? , ?? ? ? ? ??)
> > (minä olen Italian kansalainen, mutta minä asun Ruotsissa)
> > https://www.scaiecat-spa-gigi.com/
> >
> >
> I am assuming that your problem is that you get broken images even though
> you have the correct name of the image in question.
> Files names are case sensitive on linux systems so you may want to rename
> your files with the correct extension before loading them on the server OR
> write a script to load the names of all the files in your images directory
> into an array and find the image name in question grab the one that
matches
> the first 5 characters of the m-d string.



My problem is that Windows 98, which I am using, does not (as standard) make
difference between cases so that I could not modify capital letters into
small letters and viceversa. If I had created a file for some reason which I
do not know with small capitals and another one with capital letters I am
forced to change the script to insert the file. Therefore I wonder whether
I could have written the php code in a way which accepts both capital
letters and small letters.
--
Luigi Donatello Asero
(sono italiano ma vivo in Svezia)
(я итальянец но я живу в Швеции )
(我是 意大利人 , 但是 我 住 在 瑞典)
(minä olen Italian kansalainen, mutta minä asun Ruotsissa)
https://www.scaiecat-spa-gigi.com/

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

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