note 20432 rejected from function.str-replace by zak
| From: | zak@php.net | Date: | Fri, 05 Apr 2002 05:37:49 +0000 |
| Subject: | note 20432 rejected from function.str-replace by zak | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-28645@lists.php.net to get a copy of this message | ||
I'd like to ask you how to replace absolute image URLs in string by relative. For example,
<img src="http://localhost/something/file.php?id=5">
to <img src="file.php?id=5">. Maybe I'm only dumb but I really don't know
how to do it :-)