[ Date Index ][
Thread Index ]
[ <= Previous by date /
thread ]
[ Next by date /
thread => ]
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Tom Salmon wrote: | David Johnson wrote: | |> This is driving me insane: - |> |> I have a .htaccess file which calls a PHP error document if a file is |> not found. What I need to do is grab the refering URL (i.e. the |> location and name of the file that didn't exist) for use within the |> PHP script. |> |> Everything I've tried from Google just doesn't work... |> | | Try: | $referer = $_SERVER["HTTP_REFERER"]; | | http://www.php.net | has served all my php needs pretty well. |
- -- Neil Stone
0 returned -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.0 (GNU/Linux)
iD8DBQE97TlcETbMU8Wu6mERAis1AJ0R63JAfhGtSMbMTzNl1MVab/ioJQCfQUKx 2enlxcdpFyqW0/SsSRRSwK0= =PT8o -----END PGP SIGNATURE-----
-- The Mailing List for the Devon & Cornwall LUG Mail majordomo@xxxxxxxxxxxx with "unsubscribe list" in the message body to unsubscribe.