You are here: Re: Problem with http:/www.mydomain.com/home.php/ « PHP Programming Language « IT news, forums, messages
Re: Problem with http:/www.mydomain.com/home.php/

Posted by Tyrone Slothrop on 11/14/06 14:13

On 14 Nov 2006 04:37:57 -0800, "Prasad" <prasadk14@gmail.com> wrote:

>HI all,
>
> I have a problem when i type in the browser ..
>
> http:/www.mydomain.com/home.php/
>
> instead of
>
> http:/www.mydomain.com/home.php (no forward slash at the end )
> its opening the same page ..but behaving very weird ..
>( All the realative links in the content of that page are now with
>reference to the above url ..
>
> for example .. if i submit a form to a url "groups.php".. , the
>requset is goin to http:/www.mydomain.com/home.php/groups.php ....
>no such url exists ...the valid url is ..
> http:/www.mydomain.com/groups.php.
> )
>
>Can i solve this problem even if i type
>----http:/www.mydomain.com/home.php/ in the browser ????????????

Use a base href tag in the head of your html.
<base href="http://www.mydomain.com/">

 

Navigation:

[Reply to this 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

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