Reply to Re: [PHP] link problem - Apache or PHP?

Your name:

Reply:


Posted by John Nichel on 03/31/05 23:38

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

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация