--- Begin Message --- Hi,
if it's always the same "src=http://www.somedomain/directory/", then the easiest might be:
$string = str_replace('src="http://www.domedomain/directory/','src="',$string);
... Duncan
Luis Lebron wrote:
I need to modify a string that contains image links like <img src="http://www.somedomain/directory/graphics/filename.jpg"> to image links like <img src="graphics/filename.jpg">
How can I do this?
Luis
--- End Message ---
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

