Re: [PHP] Modifying a string
> I need to modify a string that contains image links like src="http://www.somedomain/directory/graphics/filename.jpg";> to > image links like Maybe something like with str_replace()? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Modifying a string
--- 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 http://www.somedomain/directory/graphics/filename.jpg";> to image links like 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
[PHP] Modifying a string
I need to modify a string that contains image links like http://www.somedomain/directory/graphics/filename.jpg";> to image links like How can I do this? Luis