Re: link problem - Apache or PHP?

From: Date: Thu, 31 Mar 2005 20:38:37 +0000
Subject: Re: link problem - Apache or PHP?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-211981@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. Is this a PHP or Apache problem and how do I fix it? -Aaron
It's not a 'problem' of either. Without the 'http://' Apache assumes it is an releative link, and is appending it to the cwd. -- John C. Nichel ÜberGeek KegWorks.com 716.856.9675 john@kegworks.com

« previous php.general (#211981) next »