View Single Post

  #1 (permalink)  
Old 04-06-08, 21:10
Flep Flep is offline
Administrator
 
Join Date: Jul 2007
Location: Cesena
Posts: 4,488
Rep Power: 6
Flep is on a distinguished road
Email form with pictures - Flash CS3 and PHP

Hi all !


FlepStudio has created a new email form using Flash CS3 and PHP.

Compared with other already seen



this new form allows the user to send images.

Images will be saved on server and links to view them will be send via email.

It can send a single image, more pictures or any image (in this case would be a function of classical form).


Developed with Flash CS3 and PHP.









Installation:



  • Create a folder ( on your server ) with name "form".

  • Open the file Main.as, at row 22 ( green code ) insert the absolute URL that hits to the "form" folder you just created ( with no final slash ! ).

  • At row 23 of Main.as set the max size for each image ( usually 200000 ).

  • Open the file main.fla and create the SWF.

  • Upload into "form" folder the file main.swf .

  • Create a folder ( on your server ) with name "PHP".

  • Open the file sendMail.php and at row 2 insert your e-mail address.

  • Upload into the folder " PHP" the files sendMail.php and upload.php .

  • Create a new folder into "PHP" with name "uploadedFiles" and chmod 777.



If you want change the names of the folders, ask here.


As always, source files attached:

Attached Files
File Type: zip PictureForm.zip (1.03 MB, 1581 views)

__________________

 


I recommend: Essential Actionscript 3.0

- Non rispondo ai messaggi privati con domande tecniche. Apri una discussione sul forum !
- I do not reply technicians pvt messages. Open a thread !
Reply With Quote