[PHP] Getting the current URL (with arguments) as a variable, then removing another variable from that ?

2001-07-17 Thread Justin Colson

Is there a way that I can get the current URL, like

myfile.php?sub=web?page=web1

And then remove the ?sub=web from it, even if the value of ?sub is different
? Someone said something about $PHP_SELF but I dont know where to go from
there.



-- 
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]




Re: [PHP] Getting the current URL (with arguments) as a variable, then removing another variable from that ?

2001-07-17 Thread ReDucTor

myfile.php?sub=webpage=web1 shouldn't it be?!!?!?
- Original Message -
From: Justin Colson [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, July 18, 2001 1:51 AM
Subject: [PHP] Getting the current URL (with arguments) as a variable, then
removing another variable from that ?


 Is there a way that I can get the current URL, like

 myfile.php?sub=web?page=web1

 And then remove the ?sub=web from it, even if the value of ?sub is
different
 ? Someone said something about $PHP_SELF but I dont know where to go from
 there.



 --
 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]



-- 
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]