Re: 'HTTP_REFERER'



In <1129163717.987264.113260@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> "juglesh" <jugleshjunk@xxxxxxxxxxx> 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@xxxxxxxxxxx)

.



Relevant Pages

  • Re: PHP 5 relative paths dont work??
    ... relative paths for require statements no longer work unless I put the ... absolute path. ... script, as tested with the simple script: ... Trying now, with PHP5 on this machine, PWD always seems to be Apache's ...
    (comp.lang.php)
  • Re: PHP 5 relative paths dont work??
    ... relative paths for require statements no longer work unless I put the ... absolute path. ... script, as tested with the simple script: ... Trying now, with PHP5 on this machine, PWD always seems to be Apache's ...
    (comp.lang.php)
  • Re: Creating server based image catalogs with Filemaker?
    ... I send incoming pics through a batchrename (also a filemaker ... I did not send you a script, but some calculation examples. ... Currently it holds over 15,000 images, and more are added ...
    (comp.databases.filemaker)
  • Re: yet another question on file names with spaces?
    ... > I agree, the echo is redudant. ... > know what they are before the script runs - see below. ... > finding whether they are also on the remote machine. ... > images and pdfs which I only want to transfer once. ...
    (comp.unix.shell)
  • Re: change images
    ... Some UA's can't update the display style with script, in which case, ... Style in FF) and you will see that all of the images are there from ... display styles to "none" and then show the container. ... var oldMenuItem; ...
    (comp.lang.javascript)