Hi,
Du solltest aber ohnehin versuchen das localhost nicht hart einzutippen. Wenn Du PHP zur Verfügung hast, könnte http://'.$_SERVER['SERVER_NAME'].'/... Dein Freund sein.
Wenn die Ressource sowieso unterhalb der Domainwurzel des Hosts, auf dem das Script jeweils läuft, liegen soll - dann ist / ein viel besserer Freund.
MfG ChrisB
--
Light travels faster than sound - that's why most people appear bright until you hear them speak.
Light travels faster than sound - that's why most people appear bright until you hear them speak.