Reply to Re: Case insensitive

Your name:

Reply:


Posted by Gufo Rosso on 09/19/05 01:55

"Luigi Donatello Asero" <jaggillarfotboll@telia.com> ha scritto nel
messaggio 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>")
> ;
> ?>
>
$picture='https://www.scaiecat-spa-gigi.com/bilder/bilder-hemsida/'.date('m-
> d');
if(file_exists($picture.".JPG")){
$picture = $picture.".JPG";
}else{file_exists($picture.".jpg")){
$picture = $picture.".jpg";
}
non risolve i Jpg jPg, jpG........ che sono tutte condizioni diverse
se hai i permessi puoi fare un rename ricorsivo in

rename($dir.$file),strtolower($dir.$file);

il dir lo trovi sul manuale









>
> --
> 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

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