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 /index.php. C. > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Saturday, August 10, 2002 2:56 PM > To: [EMAIL PROTECTED] > 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 only > $2.99 shipping and handling. http://cd.netscape.com/promo_one/ > > Get your own FREE, personal Netscape Mail account today at > http://webmail.netscape.com/ > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php