Re: http_referer

by Ilya Dubinsky <ilya788(at)inter.net.il>

 Date:  Sun, 12 Mar 2000 11:48:56 +0200
 To:  Ramon Nours <niki29(at)home.com>
 Cc:  hwg-languages(at)hwg.org
 In-Reply-To:  home
  todo: View Thread, Original
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


>Hello, does anyone know the java script code for
>getting the referrer variable and sending
>it via a http address.

         document.referer holds the name of referring document.
         you can do kind of
         document.location.href="/myscript.php3?ref="+escape(document.referer)
         to pass it's value in ref variable to myscript.php3.

				Yours, Ilya.

-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 6.5.1 Int. for non-commercial use <http://www.pgpinternational.com>

iQA/AwUBOMtL6dQGtbKArRTdEQKLqQCfQu3DNQ+61gBw4F5VdXc8t2FUufAAn1a7
J4LuSBBJSMQ9/IUK53lcJPsk
=5tyX
-----END PGP SIGNATURE-----

HWG: hwg-languages mailing list archives, maintained by Webmasters @ IWA