a URL ending with something like portal.php?key2=hello
how can I get the value of "key2"?
相关问题
- Views base64 encoded blob in HTML with PHP
- Laravel Option Select - Default Issue
- PHP Recursively File Folder Scan Sorted by Modific
- Can php detect if javascript is on or not?
- Is there a way to play audio on a mobile browser w
will get you the value from a query string.
will get you the value from a form posted.
will get you either of the above if it exists.
GET data is decoded into the $_GET super-global array. See http://php.net/manual/en/language.variables.external.php