salim
08-22-2008, 02:09 AM
Hi All
I am having a flash UI that posts two values to the php page.
Two values are name and email
System.useCodepage = true;
Outdata.Username=nam; //My input fields
Outdata.Email=email;
if(nam!=undefined and email!=undefined)
{
Outdata.sendAndLoad("signin.php", Indata, "POST");
}
This is my php code
$Username= $_POST['Username'];
$Email= $_POST['Email'];
echo $Username;
echo $Email;
exit;
But when i echo i am not able to see the posted values from flash.
Is my flash script not correct??
Thnx in advance
I am having a flash UI that posts two values to the php page.
Two values are name and email
System.useCodepage = true;
Outdata.Username=nam; //My input fields
Outdata.Email=email;
if(nam!=undefined and email!=undefined)
{
Outdata.sendAndLoad("signin.php", Indata, "POST");
}
This is my php code
$Username= $_POST['Username'];
$Email= $_POST['Email'];
echo $Username;
echo $Email;
exit;
But when i echo i am not able to see the posted values from flash.
Is my flash script not correct??
Thnx in advance