How do I pass a multi-dimensional array as a GET parameter in PHP?
Posted
by Onema
on Stack Overflow
See other posts from Stack Overflow
or by Onema
Published on 2010-04-21T19:44:43Z
Indexed on
2010/04/21
19:53 UTC
Read the original article
Hit count: 219
I have the following code.
$connect = new Connection ();
$response = $connect->putFile($fileName, $destination);
header("Location: /test.php?response=" . $response);
When I invoke header with the response, the file will stop execution, but I will have no error in the console... I am thinking maybe this array needs to be encoded for the url?
if that is the case how?
Thank you
© Stack Overflow or respective owner