Re: store $PHP_SELF into session variable
| From: | Rasmus Lerdorf | Date: | Tue, 20 May 2003 07:35:31 +0000 |
| Subject: | Re: store $PHP_SELF into session variable | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-148252@lists.php.net to get a copy of this message | ||
$PHP_SELF doesn't include the get-method data. You would need to either
use $REQUEST_URI or you could append $QUERY_STRING to the end of
$PHP_SELF.
-Rasmus
On Tue, 20 May 2003, Osman Omar wrote:
> Hi,
>
> How do I store $PHP_SELF into session variable?
> I try but only manage to get part of it.
>
> eg. I try to store "edit_status?id=1879" but when I recall I only get
> "edit_status"
>
> code: rpage = $PHP_SELF;
> session_register("rpage");
>
> thanks
>
>
>