That's because PHP detects whatever it's after that question marks as
variables so it's able to process them in requests you make in your
scripts. The one you quote means that there is a variable being passed
from one page to another named $url which has the value /index.php.

So, if you call (in the incoming page) a script which need to know what
is the value of $url that was passed, the script will know that is


> -----Original Message-----
> Sent: Saturday, August 10, 2002 2:56 PM
> Subject: [PHP] weird urls
> How come some URLs have all these questions marks and stuff like that?
> Below:
> source.php?url=/index.php
> __________________________________________________________________
> Pre-order the NEW Netscape 7.0 browser. Reserve your FREE CD and pay
> $2.99 shipping and handling.
> Get your own FREE, personal Netscape Mail account today at
> --
> PHP General Mailing List (
> To unsubscribe, visit:

PHP General Mailing List (
To unsubscribe, visit:

Reply via email to