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

Posted by juglesh on 10/12/05 16:52

Toby Inkster wrote:
> windandwaves wrote:
>
> > I have a redirection in place using an .htaccess file. The file it
> > redirects to is 404.php.
>
> I is *really* redirecting, or is it rewriting, or perhaps displaying
> 404.php using Apache's ErrorDocument directive?
>
> If it's really redirecting (i.e. the URL in the address bar becomes
> 404.php) then this is a bad thing, because it means that your visitor
> can't see what the "problem URL" was, so doesn't have an opportunity to
> correct the address in the address bar.
>

So, how can we make a 404 page that either shows the poblem URL in the
address bar, or can get the problem URL so I can display it in a text
box where the user can correct it and click a 'go' button? (I know how
to make that text box, but not how to get the problem URL).

--
thanks for your time,
juglesh

 

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

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