note 22628 added to function.preg-replace
| From: | admin at connxion dot co dot uk | Date: | Tue, 25 Jun 2002 17:23:12 +0000 |
| Subject: | note 22628 added to function.preg-replace | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-32182@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
--
http://www.php.net/manual/en/function.preg-replace.php
http://master.php.net/manage/user-notes.php?action=edit+22628
http://master.php.net/manage/user-notes.php?action=delete+22628
http://master.php.net/manage/user-notes.php?action=reject+22628