On Friday 16 February 2001 23:57, James, Yz wrote:

> OK, I've an error handling page.  Basically, I want to split (that
> might even be one of the functions I'll have to use) this sort of url:
>
> error.php?/pages/login.php?username=name

That will only cause trouble. URLs with parameters have the following 
format:
scriptname?parameter1=value1[&parameter2=val2[&...]]

Two '?' in an URL are strange at best. So change that to

$ErrorURL = 'error.php?page=' . 
rawurlencode ('/pages/login.php&username=name');

> /pages/login.php

$HTTP_GET_VARS['page']

-- 
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)

Drink wet cement. Get stoned.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to