PDA

View Full Version : Flash-Based Email Form Using PHP (am i doing it right?)PLEASE HELP!



essence01
January 3rd, 2007, 01:58 PM
Ok...i know nothing about php but I followed the tutorial here in making email form-flash based using php. As instructed, i uploaded it to my server (yahoo) and after 100th time of testing....8-] trying to figure out whats the problem...i finally gave up and thats why im wriiting now asking for help.
I even made sure that the server plan i am with yahoo has PHP interpreter(i even upgraded it just for this).
So...what do you think is the problem? I downloaded the file from the tutorial and changed the "email address" to the address i want , then, i uploaded it to my server.

Sorry...after no sleep...dreaming on it....i feel like a zombie now...cheers;_D

evildrummer
January 4th, 2007, 10:33 AM
Does your host allow PHP mail? alot of free hosts dont.

essence01
January 4th, 2007, 01:39 PM
Does your host allow PHP mail? alot of free hosts dont.

___________________

yes, my host allow php mail...i made sure of that. but it just doesnt really work . I tried uploading different files but i guess im not doing it right.

When i download the source files from the tutorial, all i have to do is just change the email address right? then, upload it to my server?

evildrummer
January 4th, 2007, 02:40 PM
zip the files up and send them to me, I can try it on my server cause I have a contact form already, and are you sure about the mail, have a php document with just:


<? phpinfo(); ?>

essence01
January 4th, 2007, 03:13 PM
zip the files up and send them to me, I can try it on my server cause I have a contact form already, and are you sure about the mail, have a php document with just:


<? phpinfo(); ?>

___________

oh thank you so much......here is the zip file

evildrummer
January 4th, 2007, 03:44 PM
Here it is http://kirupa.digitalcarnival.com/email/Kirupa_flash_php_email.html

Ive not looked at the script or modified or even used it, just uploaded it so you can check.

restlessdesign
January 4th, 2007, 04:42 PM
It's a lot more complicated than that. You're server might not allow mail to be sent, or they might be running a different version of PHP, or have different config settings. Go through and make a mail form in HTML first to be sure that the PHP side is working. Then go into Flash and hook it into the PHP script.

evildrummer
January 4th, 2007, 05:03 PM
or test my script, im running appache 2, PHP5. and check your php info file.

essence01
January 4th, 2007, 05:38 PM
Here it is http://kirupa.digitalcarnival.com/email/Kirupa_flash_php_email.html

Ive not looked at the script or modified or even used it, just uploaded it so you can check.

__________

sadly, it still doesnt work.....thanks for the helps annyway....im gonna try to find more email forms.

essence01
January 4th, 2007, 05:41 PM
It's a lot more complicated than that. You're server might not allow mail to be sent, or they might be running a different version of PHP, or have different config settings. Go through and make a mail form in HTML first to be sure that the PHP side is working. Then go into Flash and hook it into the PHP script.

_______________________


im really a newbie with php..but im gonna try what ur suggestion....however, im not really clear with it....u mind elaborating it please...really sorry....im new with php,

evildrummer
January 5th, 2007, 10:26 AM
as your script doesnt work ill look at it myself :D

AKA_slim
August 24th, 2007, 01:54 PM
i'm having the same problem. i added this script to the send button after the formloadvariables part and it makes the form work for me.

form.onData = function() {
nextFrame();
};
...but I can't seem to make it send out the message. I think we might have to do something different because that way yahoo's server works.