php-general | 2001122
Date: 12/17/01
- Next message: Berlina: "[PHP] Using persistent connection to database"
- Previous message: Rodrigo Peres: "Re: [PHP] multicolumn table"
- In reply to: usenet6 <email protected>: "[PHP] Using PHP in an HTTP 404 error document ($HTTP_REFERER is blank)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Maybe you use 4.1.0 and register_globals is off (in php.ini).
try this var_dump($HTT_SERVER_VARS);
Regards,
Andrey Hristov
----- Original Message -----
From: <usenet6 <email protected>>
To: <php-general <email protected>>
Sent: Monday, December 17, 2001 4:27 PM
Subject: [PHP] Using PHP in an HTTP 404 error document ($HTTP_REFERER is blank)
>
> I have a php document which I direct my server to use as a 404 error
> doc.
>
> In it I write:
>
> print "$REQUEST_URI\n";
> print "$HTTP_REFERER\n";
>
> The thing is I get the the error page itself in place of $REQUEST_URI
> and $HTTP_REFERER is blank.
>
> any suggestions as to how I can get the URL which the user entered?
> I'm runnig Apache on RedHat 7.2
>
> Thanks!
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe <email protected>
> For additional commands, e-mail: php-general-help <email protected>
> To contact the list administrators, e-mail: php-list-admin <email protected>
>
>
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe <email protected> For additional commands, e-mail: php-general-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Berlina: "[PHP] Using persistent connection to database"
- Previous message: Rodrigo Peres: "Re: [PHP] multicolumn table"
- In reply to: usenet6 <email protected>: "[PHP] Using PHP in an HTTP 404 error document ($HTTP_REFERER is blank)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

