Im am very new to PHP (although i am programmed in object-c programming for iOS and this is why i need this).
I need to get the username and password out of a post url and into variables for example this:
http://url.com/phpFile.php?username=TheUsernameToGetOut&password=ThePasswordToGetOut
Many Thanks
Im am very new to PHP (although i am programmed in object-c programming for
Share
You can find the parameters sent in the url (Get parameters) through the super global array
$_GET. example:$_GET from php manual
If the parameters were sent instead via a post (posting a form) then they will be available through the
$_POSTsuper global array. example:$_POST from php manual