I was working on an Twitter api. I had a problem .
The details is as follows:
<form action=”try.php” method=”post”>
<input name=”session[username_or_email]” tabindex=”1″ type=”text” value=”” />
<input type=”submit” value=”SUBMIT” />
</form>
I couldn’t get a value.
I asked about it in linkedin.com, soon I got a few advices and solved the problem. I concluded them as below:
this is handled as an array:
array(“session[username_or_email]” => USERNAME);
The try.php file to get its values should look like:
$session = array(“session[username_or_email]” => $_POST[‘username_or_email’],”session[password]” => $_POST[‘password’]);