samedi 18 avril 2015

External form isset equals false and returns no input value

I've created a simple form located on another website(server).


When the form on www.b.com is submitted using the http://ift.tt/1JUzH40 action I'm getting no return values from the input.


I'm trying to figure out how to get the input information from server to server. For some reason when I run this I get



false



which indicates that it is not set. Am I over thinking this? Should this not return the value or should I do something different?


http://ift.tt/1JUzH40



include "db_conx.php";
if (isset($_POST['name']))
{
echo 'true';
}
else
echo 'false';


The form is located below and on website B. Again, this is on another website and server all together. We'll call it www.b.com


www.b.com



<form action="http://ift.tt/1yG4m3C" method="post">
Name: <input type="text" name="name"><br>
E-mail: <input type="text" name="email"><br>
<input type="submit">
</form>

Aucun commentaire:

Enregistrer un commentaire