You are here: Re: 'HTTP_REFERER' « PHP Programming Language « IT news, forums, messages
Re: 'HTTP_REFERER'

Posted by windandwaves on 10/13/05 00:46

juglesh wrote:
> Bert Melis wrote:
>> If you put the absolute path into your htaccess
>>
>> ErrorDocument 404 http://www.domain.tld/errors/404.php
>>
>> the address in the address-bar of your browser changes to the
>> error-document. If you put a relative document in your htaccess
>>
>> ErrorDocument 404 /errors/404.php
>>
>> the address will not change, and you can fetch the wrong url by
>> $_SERVER['REQUEST_URI'].
>
> Ahh, that's it. I had been using a common 404 for a few different
> sites, therefore using an absolute path to it.
>
> Thanks alot!

Madness, because i read about this, but even though I am using a relative
path, I am still not getting the right page. Can anyone help or
troubleshoot me through this one?

Tia

- Nicolaas

 

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

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