FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


I am trying to build a contact form using php and flash





evilryu530
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);
}
Daniel15
Hi,
Do you have the exact error message?
Maybe try changing the URL to a relative one? Something like:
Code:
senderLoad.sendAndLoad("/send.php",receiveLoad);


I can't really think of other ideas, the last time I used ActionScript was ages ago Razz
manumiglani
May be this could help you

http://www.adesdesign.net/php/products_adesformmail.php
Related topics
Sending mail with flash using PHP
contact form
Need a simple Contact form
Website Designing using PHP
For those who need a contact form
Communicating between web pages
contact form with IP feature ?
Anyone need some FRIH$ - for flash email form with PHP
AJAX and PHP contact form
Contact Form prob
Need a Contact form from HTML/PHP
Need help to make my Flash contact form functioning!
Contact Form Issues
Help displaying pdfs using PHP
Reply to topic    Frihost Forum Index -> Support and Web Hosting -> Web Hosting Support

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.