Hi does anyone know how to, in PHP, you have a link in a variable eg. /mywebsite/extras/me.htm and you want to make that into a fully qualified URL e.g http://www.me.me/mywebsite/extras/me.htm and you have another page in a variable such as http://www.me.me/index.html but you want the script to get rid of the 'index.html' so it can use http://www.me.me to shove /mywebsite/extras/me.htm on the end, but sometimes there might be ../../index.html as a url, sometimes ../myhouse.htm but you want the script to take this into account when adding the domain from another url.
Please can you help