why is my php code converting links to relative links
The reason is most likely that you left the HTTP off of the url. If you are using some type of script that you insert a link onto your website with and don't include the "http", it assumes that the link is relative.
[ url=
www.handyphp.com]My Website[/url] is a absolute link whereas,
[ url=
www.handyphp.com]My Website[/url] is a relative link
See below:
My Website - Absolute
My Website - Relative
The http:// actually tells the script that that is the beginning of the link and without it, it is assumed that the link should be relative.
I hope this helps,
vujsa<br><br>Post edited by: vujsa, at: 2007/08/17 21:37