Reply to Re: Case insensitive

Your name:

Reply:


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]


УдалСнная Ρ€Π°Π±ΠΎΡ‚Π° для программистов  •  Как Π·Π°Ρ€Π°Π±ΠΎΡ‚Π°Ρ‚ΡŒ Π½Π° 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

Π‘Π°ΠΉΡ‚ ΠΈΠ·Π³ΠΎΡ‚ΠΎΠ²Π»Π΅Π½ Π² Π‘Ρ‚ΡƒΠ΄ΠΈΠΈ Π’Π°Π»Π΅Π½Ρ‚ΠΈΠ½Π° ΠŸΠ΅Ρ‚Ρ€ΡƒΡ‡Π΅ΠΊΠ°
ΠΈΠ·Π³ΠΎΡ‚ΠΎΠ²Π»Π΅Π½ΠΈΠ΅ ΠΈ ΠΏΠΎΠ΄Π΄Π΅Ρ€ΠΆΠΊΠ° Π²Π΅Π±-сайтов, Ρ€Π°Π·Ρ€Π°Π±ΠΎΡ‚ΠΊΠ° ΠΏΡ€ΠΎΠ³Ρ€Π°ΠΌΠΌΠ½ΠΎΠ³ΠΎ обСспСчСния, поисковая оптимизация