Jump to content

URL Question


ASK83

Recommended Posts

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.