note 47190 rejected from function.preg-replace by betz

From: Date: Fri, 05 Nov 2004 17:23:22 +0000
Subject: note 47190 rejected from function.preg-replace by betz
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-80155@lists.php.net to get a copy of this message
Note Submitter: jack at jcxp dot net ---- If i want to search for all the Url's on a Page and replace them with another url, I can't manage to do it, If I search for http:// and replace with myscript.php?url=http:// that works to an extent, but for the majority of links, there is no http:// as the link is local.. How can i get this to work? I basically want all links on a page to go through my script..

« previous php.notes (#80155) next »