Quote:
Originally Posted by phill2003
Really, i'll change it and see what happens. Does it do it with yours because it may be something wrong with my server or something if it really is only me its happening to.
and do you just put www or do you need the http part as well.
[edit] no didnt make a difference its still using links.php for all links.
|
Phil try this.
Code:
$url_info = parse_url($rightlink);
if ($url_info["host"]=="www.thatsshocking.com"):
return "<a href=\"$rightlink\" target=\"_blank\">$text</a>";
else:
return "<a href=\"http://www.thatsshocking.com/links.php?url=$rightlink\" target=\"_blank\">$text</a>";
endif;