olsrey Posted July 2, 2009 Share Posted July 2, 2009 Hello all, I am in need of some code that will be used within my bbcode function to search through all links within Link name bbcode tags to see if the site address is pointing towards my server or not. If they are not then they'd need opening into a blank page instead of my frameset. My main problem is I have numerous domain names all using the same code. I have at current code that can detect this to an extent, but if the link is News Page then it will assume the link is external. But I'd need it to recognise the link as well. Any help would be appreciated. Link to comment https://forums.phpfreaks.com/topic/164557-code-to-determine-whether-a-link-is-internal-or-external/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.