ASK83 Posted December 17, 2008 Share Posted December 17, 2008 If my domain is www.one.com -- If I have a user input a URL as part of a post and they input "www.thissite.com" when I go to echo this field through mysql the actual link comes up as "www.one.com/www.thissite.com". What php function would be best to check for this and reformat the link to just point to "www.thissite.com"? Link to comment https://forums.phpfreaks.com/topic/137314-url-question/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.