I am trying to build a contact form using php and flash
basically a simple php file uploaded to the server, and a small flash swf file with some actionscript to link to the send.php, but when i test out the swf file, it says it can't link to my file, but i have tripled check, i was wondering if maybe there is a block or config i didn't do on the server side...anyone have any ideas? this is my action script in flash.
stop();
var senderLoad:LoadVars = new LoadVars();
var receiveLoad:LoadVars = new LoadVars();
sender.onRelease = function() {
senderLoad.theName = theName.text;
senderLoad.theEmail = theEmail.text;
senderLoad.theMessage = theMessage.text;
senderLoad.sendAndLoad("http://www.design.frih.net/send.php",receiveLoad);
}
basically a simple php file uploaded to the server, and a small flash swf file with some actionscript to link to the send.php, but when i test out the swf file, it says it can't link to my file, but i have tripled check, i was wondering if maybe there is a block or config i didn't do on the server side...anyone have any ideas? this is my action script in flash.
stop();
var senderLoad:LoadVars = new LoadVars();
var receiveLoad:LoadVars = new LoadVars();
sender.onRelease = function() {
senderLoad.theName = theName.text;
senderLoad.theEmail = theEmail.text;
senderLoad.theMessage = theMessage.text;
senderLoad.sendAndLoad("http://www.design.frih.net/send.php",receiveLoad);
}
