The send to friend form requires a server that supports php. All fields have validation checking before the form can be submitted. Form size increases to fit additional email fields
Description— The send to friend form can be used to send a link to any number of emails. For the purpose of the fla and demo i have set this to 3 max emails
Setup php script—
In order to get up and running with the s2f form you first need to open the send2friend.php script. You now need to add your site address and site name, you will find the where to put these between line 10 and 13 of the php script. No changes/modifications are required in the swf.
- Setup static vars for email - //
$sitename = “your site name”;//—// Only need to change this to match your site name
$siteurl = “http://www.yoursite.com”;//—// Only need to change this to match your site url
Thats it all done
The form can be used as a standalone to be added onto an html based site or it could be added to an existing flash site with simple
drag drop mc from library
The php script has been tested on a linux based server and windows dedicated server with php support.
Both fla and php file are fully commented