in a nut shell, everything works fine locally however when making calls from externally using ip (eg:http://202.202.202.202/xampp) the page dispalyed fine however all links use localhost (eg: http://localhost/link.php). Problem is that localhost doesnt work very well from an external location. So my issue is how can i get this to change to a relative path so an ip/dyndns call will work for my sites???
Installation
xampplite
windows vista home
firewall port cleared
portforwarded on router
site uses apache/php/mysql
remember it works ok for the first call using the ip that gets routed. using any of the page links are returning localhost as the url. each page can be called individually without issue using ip to the page, just the linking is the problem. as this is with basic xampp pages too, i presume its my installation not the site itself
thanx in advance
**sorry if this is a double post, cant find the first one i tried**