I'm trying to make an array from all the GET-variables passed to a PHP script. So far I haven't found any way to do this.
Is this possible?
It's already there by default:
print_r($_GET); // for all GET variables print_r($_POST); // for all POST variables
PHP docs on all available superglobals
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With