faqts : Computers : Programming : Languages : PHP : Common Problems : Forms and User Input : URLs and Post or Get Methods

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

17 of 19 people (89%) answered Yes
Recently 8 of 9 people (89%) answered Yes

Entry

Where can I find the values of nameless arguments in a GET request?
How can I find out if bar exists for a request like http://foo.com?bar?

Jun 29th, 1999 09:02
Nathan Wallace, Onno Benschop, Chad


script.php3?first&second&third

$argv[0] is first
$argv[1] is second
$argv[2] is third