Re: link problem - Apache or PHP?

From: Date: Sun, 03 Apr 2005 13:12:19 +0000
Subject: Re: link problem - Apache or PHP?
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-212109@lists.php.net to get a copy of this message
germ germ wrote:
In my HTML file the HREF tag is: <A HREF="www.google.com" TARGET="_blank">google.com</A> When clicked, the link in then directed to: http://10.10.1.5/test-a/ref/www.google.com Basically it seems like it appends the link to the URL path.
Yes, guess you have a base tag on the page, which reads http://10.10.1.5/test-a/ref. Please try use the absolute link, that is
HREF="http://www.google.com" TARGET="_blank">google.com</A> Good luck Bao

« previous php.general (#212109) next »