Getting the current URL (with arguments) as a variable, then removing another variable from that ?
| From: | Justin Colson | Date: | Tue, 17 Jul 2001 15:51:06 +0000 |
| Subject: | Getting the current URL (with arguments) as a variable, then removing another variable from that ? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-58288@lists.php.net to get a copy of this message | ||
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.