Re: link problem - Apache or PHP?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




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

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux