PDA

View Full Version : mail form


bahrami
02-23-2001, 10:37 PM
Hi ! I would like to have a mailform on my site.
I would like to have that kind mail form with a PHP3 file in it. So I can have the PHP document, hidden.
I've downloaded the .FLA in the tutorial section on this forum, But that .FLA is not working. I modyfied the ph3 file and typed in my own email-address just to se if it workes. But it didn't. Can anybody help me getting through with this.

Jesse
02-24-2001, 06:44 AM
The tutorial example works, I know because I spent ages tweaking it :)
First off, check if your host supports PHP. Then check what the extention on PHP files should be on your server, it'll prolly be .php but it could be .php3.

Then all you need to do is rename the PHP file with the correct extension and change the call to it from Flash to make sure you're calling the right file.
You might also want to change the button aciton to a GetURL action so that your page will physically GO to the PHP file, then you can at least see if you're getting an error in run time.

Cheers

Jesse

bahrami
02-24-2001, 09:03 AM
My files are on geocities. They didn't accept the php3 file. So is it possible to test this from my computer.

Jesse
02-24-2001, 11:53 PM
That's why the mail form isn't working. You can't use PHP files or even custom CGIs on Geocities.

You can test it locally if you run a local webserver like PWS or Apache with the PHP extensions installed.
See http://www.apache.org and http://www.php.net for more info.

Checkout http://www.webprovider.com they also ofer free hosting but they support CGI, Telnet and FP Extensions... still no PHP though.

Cheers

Jesse