Flash and PHP contact form

They have: 1 posts

Joined: Dec 2008

Hey all,

I just purchased a Flash website template from GraphicWorx.us good template, nice price, but when I went to edit the template, the contact page had what I thought was a form, but it didnt actually work.

I have seen flash sites with contact forms, but have no clue how to do it. I have seen things on searches for using PHP, but I really dont get how to do it with flash,

Any help would be appreciated. Basically I am just looking for something that when someone fills out the form, it sends me an email, and also sends them a thank you email.

Thanks in advance.

decibel.places's picture

He has: 1,494 posts

Joined: Jun 2008

Hi graphicsguy,

Welcome to TWF! Laughing out loud

A considerable share of my work involves enabling various forms for designers... but with a little knowledge you can do it yourself!

A Google search should solve this, but you say you "really don't get" it.

I think this tutorial at Tizag is a good one, and goes into more detail with graphic examples than I can easily provide here.

He has: 629 posts

Joined: May 2007

graphicsguy wrote:
Basically I am just looking for something that when someone fills out the form, it sends me an email, and also sends them a thank you email.

In my beginner Web Design class, several students have used this Wufoo contact form successfully. The free version has an innocuous advert on the "thank you" page - you can probably live with that.

Cordially, David
--
delete from internet where user_agent="MSIE" and version < 8;

greg's picture

He has: 1,581 posts

Joined: Nov 2005

graphicsguy wrote:
Basically I am just looking for something that when someone fills out the form, it sends me an email, and also sends them a thank you email.

Hi graphicsguy, welcome to TWF Smiling
Contact forms have two basic stages. Get data from user via the form, send all data provided to your email address. (further stages can be added such as a message to the visitor about how it went, when you will reply etc etc)

Using flash for an email form (stage 1) still requires something else to actually collect, check and send all the data form the form (stage 2), namely PHP.
If your template is written in HTML and has flash included (which is how most templates work) then you can use PHP with a HTML form.

A lot of templates come with the form ready but nothing happens when you submit it, this is because you have to create your own desired outcome. Frustrating perhaps, but you have to code yourself what email address it is from, what mail system will be used to send the email etc etc.

I haven't seen the code for your template, but using a HTML form rather than flash would be much easier as it seems you don't have a lot of coding experience. Rather than editing flash as well as HTML and PHP, it would perhaps be easier for you to view some basic HTML form examples/tutorials and PHP form sending tutorials.
Just an option which will get you a basic contact setup for people to contact you with, which is what I think you want.

However you do it, you will need to edit the template code and at least create a new PHP file for sending the form data.
I don't know your level of coding experience, but running a site often brings a requirement of at least a little knowledge of coding. It also help sin the future for changes and updates if you know how your site is coded and how to edit/change it to suit your needs.

-Importantly, ANY data a user enters anywhere on your site, such as into a form, should be validated. That is check it conforms to your required criteria.
Such as name is alpha only, and doesn't have any characters like !"£$< >@, a valid and working email address is present etc

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.