I need to pass a javascript object , info is a javascript object.
register.php?t="+accessToken+"&u="+info
in php i tried to change
$data = $_GET['u'] ;
var_dump($data);
It’s not working help me to slove,
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I think you should encode your javascript object into json format, so you can pass it into the uri. Here is how to do that: http://www.openjs.com/scripts/data/json_encode.php
and then on the server side you can simply do: