Search  

PHP AS2 EMAIL, MAILINGLIST SIGNUP FORM WITH DATA CAPTURE

HomeBrowse CategoriesFlashApplications and UtilitiesPHP AS2 Email, Mailinglist signup form with data capture

You can view a live demo here: http://www.graphicireland.com/FD_mailingListStorage/

The Current Demo is saving to XML that you can view here: http://www.graphicireland.com/FD_mailingListStorage/data/mailingList.xml

Flash & PHP Knowledge Required – Basic

This file will allow you to create any email or mailing list sign up form.

The Flash is AS2 and is very easy to add new fields.

Validation is also very easy to add to additional fields.

The PHP allows you to send TXT or HTML mails to the admin and the sender. Notification can also be turned off very easily.

The data can also then be saved in 3 forms:

XML - A sample xml doc is supplied, you can use this to plug into your site or for any other use such as subscribers or donation amounts, the xml is very easy to change as the php will build nodes in a loop, which you can change to suit your structure needs.

CSV – This is a common text format for importing email addresses and with this file you can constantly keep a record of all your mailing list subscribers and port between many different mail clients.

Database – There is a dbConnect script attached to this file which will allow even a mySQL novice add these sign ups to a database, emails could even be stored in a DB to form some sort of posting application

The php is logically separated into 3 files and every single line of code is commented and I do mean every line.

The form itself is very easy to skin and takes CSS style variables for colour for border, bg and focus states.

As always I offer full support with all my files so if you have any queries at all or want me to modify the file in any way you can contact me.

info@graphicireland.com

Posted 2 months ago

good o:

Posted 2 months ago

:O

Posted 2 months ago

Thanks!

Sold one 5 minutes in so fingers crossed it should be a good seller.

It is cheaper than most forms out there and with 10 times the functionality.

:)

Posted 2 months ago

nice!
hope you get what you expect..

Posted 2 months ago

Very nice papashivo

Posted 2 months ago

very useful!!!

Posted 2 months ago

yes, i like

Posted 2 months ago

I am looking forward to playing with this. Xml s not my strongest area. i am more php+mysql. So i hope to learn some new tricks.

Well done papashivo !

Posted 2 months ago

Your better of with the mysql PHP combo. XML is really only for feeds etc, no large web project could rely on it as a secure data storage method.

Posted 2 months ago

nice | ecin :P

Posted 2 months ago

great file, thanks 5*

Posted 2 months ago

Cheers ppl seem to like it :)

Posted 2 months ago

I like your updated version and am a bit new to this. Will I be able to modify the file so that it will still go thru if they only add a name and email address. When I tested it, I did not put in a phone number and/or a site, but it would not let me click send. Can I adjust this? Thanks;-)

Posted 2 months ago

Of course.

There is a very simple nested if statement for this one it checks to see if each of the 4 are filled and adds validation by a very simple method.

The file is very customisable and comes with detailed help geared towards modifying the file adding/removing fields.

The PHP is even easier.

As always I support my files and will help anyone who buys it.

:)

Posted 2 months ago

A quick note

I got a query about my email forms not working on Microsoft Servers, this is true as these servers generally do not support PHP .

If you run a Microsoft server you will need an ASP solution.

Posted 2 months ago

Just purchased, looks great, minor problem though, flash file wont open with Flash 8 pro. Could you back step the file so I can use Flash 8? I am waiting for CS4 to upgrade. ugh! Thanks

Posted about 1 month ago

I sent you a mail with the MX version, I’ll update the file on FD :)

Posted about 1 month ago

I just downloaded the file and have placed the form within another flash file.

When the form is filled out it gets stuck on …sending.

Using a UNIX server.

Posted 29 days ago

Hey man, i looking for one like this , but with a dropdown for chose the type off message. Its possible?

Thanks

Posted 22 days ago

@guiseppe327: Please send me a mail.

@brenot: Anything is possible :) send me a mail

Posted 22 days ago

Hi can you help me..

This is working great for me but I’m having problems once I’ve added new fields. I think it has to do with the fact that I have “city state & zip” in one field because of room – it is splitting the city into one label and the state and zip into another.

The confirmation email doesn’t line up the labels with the answers and it splits it up in the xml file as well. I’ve double checked all fields, etc. and they seem to match up.

mailinglist.php

//This is the label Array for the Array above, this will be used to format the email
//Please see the note in the Flash File near the sendMAil method
//These Labels will need to match the data coming from flash
$varLabels = array("Name","Email","Phone","Street","City","STC","Referred","Age");

Flash ( has all labels right – doubled checked Input field labels as well)

//If you add new fields then add the names of the text fields here format_field([nameTxt, emailTxt, phoneTxt, streetTxt, cityTxt, stcTxt, referredTxt, ageTxt]);

I didn’t really mess with the validation because the fields and just let what was there.

//The Form is filled and valid status.text = “Sending…”; //Pass the textfield contents to the php script sendForm([nameTxt, emailTxt, phoneTxt, streetTxt, cityTxt, stcTxt, referredTxt, ageTxt]);

Posted 8 days ago

Please email me :)

Posted 8 days ago

on this form.. can I go into. flash.. change those field names.. ex. site change it to country .. etc….export. then go to the .php file and make the names match to the names I used in flash.. and PRESTO >> MAGIC ? oh and ofcourse put in my email address where it goes…. thanx

tony@tonyblaze.com

Posted 6 days ago

Can some of the fields be deleted? I need to use it as it is and then also use it as a mailing list form with just an email field. It is really sharp looking!!

Posted 6 days ago

Thanks :)

Addign or deleteing fields is very easy the AS comes with a help file and all is commented.

There are 2 main sections to the code the first is a method which adds the css style coding to the textfields, this takes an array of text field names and it is very easy to delete or add text field names to it.

The second is the validation and there is a really simple method that lets you say what the field name is and the number of charecters required.

An example error message would say “The field Name must be 4 characters long” as a sample out put. The custom messsage is really easy to update as one string can do them all. There is email validation in another custom function, also commented.

You only really need very basic AS knowledge to make this work and the php is really easy as there is an array with the matching label names for what ever you pass over.

All is commented and as always I support all my files.

:)

Posted 4 days ago