Posted by Joseph Melnick on 09/19/05 01:20
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.
Joseph Melnick
JM Web Consultants
Toronto ON Canada
www.jphp.com
[Back to original message]
|