note 22628 deleted from function.preg-replace by sander
| From: | sander@php.net | Date: | Sat, 15 Feb 2003 15:21:03 +0000 |
| Subject: | note 22628 deleted from function.preg-replace by sander | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-43976@lists.php.net to get a copy of this message | ||
Hi there,
I noticed ways to use preg_replace to convert text URLs to actual links, but i was wondering if
anyone could help me out with something a bit different. What i would like to do is to convert
actual links (between href tags) to a different address. I want to append the url to a different url
for logging purposes.
e.g
http://www.fake.com
->
http://www.mysite.com/logscript.php?link=http://www.fake.com
Any help greatly appreciated,
Cheers,
Jon