Re: [PHP] Sessions and Query String Variable Handling

2002-04-28 Thread Dennis Moore
] 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

[PHP] Sessions and Query String Variable Handling

2002-04-27 Thread Dennis Moore
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

RE: [PHP] Sessions and Query String Variable Handling

2002-04-27 Thread John Holmes
. ---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

RE: [PHP] Sessions and Query String Variable Handling

2002-04-27 Thread John Holmes
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

Re: [PHP] Sessions and Query String Variable Handling

2002-04-27 Thread eric.coleman
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

Re: [PHP] Sessions and Query String Variable Handling

2002-04-27 Thread Dennis Moore
] 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

RE: [PHP] Sessions and Query String Variable Handling

2002-04-27 Thread John Holmes
, 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