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

Posted by Kai Birger Nielsen on 10/13/05 10:26

In <1129163717.987264.113260@g43g2000cwa.googlegroups.com> "juglesh" <jugleshjunk@hotmail.com> writes:


>cool

>> I just read through your script. Why are you getting people to submit the
>> same url that they came from? or did I misunderstand your script?

>I'm showing them what they typed in, so they can make a change and then
>go.

A minor addition:
You need to use an absolute path for images in
your 404 document because relative paths are interpreted relative
to the bad url rather than to the path of the 404 document.

Example:
www.246.dk/somepagethatisnotthere.html
displayed a nice 404 document with images intact
www.246.dk/blah/blah/blah/blah/
displayed the 404 document but with "broken image" icons

(And I changed it to use absolute path so both examples should
look fine now :-)

Of course another solution is to just avoid images at all.

Kind regards
-- Birger Nielsen (bnielsen@daimi.au.dk)

 

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

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