]
Sent: Saturday, April 27, 2002 11:33 PM
Subject: RE: [PHP] Sessions and Query String Variable Handling
Not for server side. You can use a META REFRESH on the client side, but
I personally find that ugly.
This is why I always write my functions so that they don't output
anything. They just assign
Env: Apache
1.3.x/php4.0.6/mysql3.23.x
Scenario: I have built a system that uses PHP
sessions for user access. Within the system I send user notifications via
email. Within the email are links to certain pages with
variables. For example.
http://mysite.com/view_page.htm?id=6
My system
.
---John Holmes.
-Original Message-
From: Dennis Moore [mailto:[EMAIL PROTECTED]]
Sent: Saturday, April 27, 2002 2:37 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Sessions and Query String Variable Handling
Env: Apache 1.3.x/php4.0.6/mysql3.23.x
Scenario: I have built a system that uses PHP
You'll have to add an http:// to that string, too.
---John Holmes...
-Original Message-
From: John Holmes [mailto:[EMAIL PROTECTED]]
Sent: Saturday, April 27, 2002 5:50 PM
To: 'Dennis Moore'; [EMAIL PROTECTED]
Subject: RE: [PHP] Sessions and Query String Variable Handling
$page
to that page.
---John Holmes.
-Original Message-
From: Dennis Moore [mailto:[EMAIL PROTECTED]]
Sent: Saturday, April 27, 2002 2:37 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Sessions and Query String Variable Handling
Env: Apache 1.3.x/php4.0.6/mysql3.23.x
Scenario: I
]
To: 'Dennis Moore' [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Saturday, April 27, 2002 8:49 PM
Subject: RE: [PHP] Sessions and Query String Variable Handling
$page = $_SERVER[SERVER_NAME] . $_SERVER[SCRIPT_NAME] .
$_SERVER[QUERY_STRING];
That will recreate the URL that the user clicked on. Save
, and just echo
that variable where ever I need to.
---John Holmes...
-Original Message-
From: Dennis Moore [mailto:[EMAIL PROTECTED]]
Sent: Saturday, April 27, 2002 5:24 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: [PHP] Sessions and Query String Variable Handling
7 matches
Mail list logo