From: "ΝΙΚΟΣ ΓΑΤΣΗΣ" <[EMAIL PROTECTED]>
> eregi_replace("<a href=\"(.+)\">", "<a href=\"\\1\" target=\"_blank\"
> class=\"down_txt\">", $body);
How is that any different than just doing a str_replace() on "<a", though?
The str_replace() is going to be much faster than the eregi_replace()
function and "href" doesn't _have_ to be the first attribute in the anchor
tag...
Just trying to open your mind to other possibilities... :)
---John Holmes...
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php