Thread: Quick PHP Help
View Single Post
02-05-2005, 01:40 AM
#2
bluecow is offline bluecow
Status: I'm new around here
Join date: Feb 2005
Location:
Expertise:
Software:
 
Posts: 2
iTrader: 0 / 0%
 

bluecow is on a distinguished road

  Old

Hello,

I didn't know which of these two things you were talking about so I added them both.

To send the information to a database or the like it would be best to go with the loadVariables function in flash and for the url put in something like http://example.com/phppage.php?email=email@email.com
then set the php script to something like:
PHP Code:
<?
if(!$email){
echo 
"No email was entered";
}else{
//You would put all the database information here and add the email to it.
// optionally echo information back to flash
echo "EMAIL=$email";
echo 
"&STATUS=$status";
}
?>
To send them from a flash video to a form on a page with the information it would be best to use the getURL() function in flash.

Hope this helps.