From: "Ian LeBlanc" [EMAIL PROTECTED]
I am working on a site that has over 1000 pages and all the images need to
be made lower case in the HTML.
Here is what I have so far. Please someone tell me what I am doing wrong.
$contents="img src=ThisOneReallyNeedsToBeAllLowercase.gif
On Thursday 22 February 2001 23:42, Simon Garner wrote:
This should do the trick (untested!):
?
$contents = "img src=ThisOneReallyNeedsToBeAllLowercase.gif
alt=ThisOneReallyNeedsToBeAllLowercase.gif";
$contents = preg_replace("/([-_a-zA-Z0-9]+)\.gif/e",
"strtolower('\\1') .
2 matches
Mail list logo