Connecting Tech Pros Worldwide Forums | Help | Site Map

Generating a .Txt file and mail it :)

Newbie
 
Join Date: Jan 2008
Posts: 3
#1: Jan 14 '08
well i need to allow poeple on my website to complete a form like name , address , mail , etc
this form should be saved in a txt file with a specified template to be attached to an email and sent to an official embassy website.
let's say the form is :

Form of getting a civil id
name :
date:
email :
etc...
after having the text file of this exact form it needs to be mailed.
i've figured out how to write a php script that sends a mail with attached file , but i still cant figure out how to generate this text file . can any body help ?

Markus's Avatar
Moderator
 
Join Date: Jun 2007
Location: York, England, with wolves.
Posts: 4,949
#2: Jan 14 '08

re: Generating a .Txt file and mail it :)


Try this tutorial from tizag.com

:)
Newbie
 
Join Date: Jan 2008
Posts: 3
#3: Jan 14 '08

re: Generating a .Txt file and mail it :)


thank you very much .. ill give it a try now :)
Markus's Avatar
Moderator
 
Join Date: Jun 2007
Location: York, England, with wolves.
Posts: 4,949
#4: Jan 14 '08

re: Generating a .Txt file and mail it :)


Quote:

Originally Posted by HostQ8i

thank you very much .. ill give it a try now :)

If you have any problems post the code you're using and we'll help.
Reply