473,322 Members | 1,778 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

Generating a .Txt file and mail it :)

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 ?
Jan 14 '08 #1
4 1162
Markus
6,050 Expert 4TB
Try this tutorial from tizag.com

:)
Jan 14 '08 #2
thank you very much .. ill give it a try now :)
Jan 14 '08 #3
Markus
6,050 Expert 4TB
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.
Jan 14 '08 #4
Hi.
I have had similar problem. And I have solve it with <link removed>. Try it if you would be in need.
Apr 13 '10 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

6
by: behindspace | last post by:
<td style=3D"border-left: solid #aaa 1px; border-right: solid black 2px; border-top: solid black 2px; border-bottom: solid black 2px;" colspan=3D"4">Data In Cell</td> *NOTE* I didn't write...
0
by: Holger Joukl | last post by:
You could use the str() builtin, returning the string representation of the list object: >>> params = (1, 2, 3) >>> "select * from T where C1 not in %s" % str(params) 'select * from T where C1...
5
by: nicke | last post by:
I'm running linux and would like to generate specific frequencies and play them(in OSS) or alternatively save them as wav files, how should I accomplish this? Using python to play and generate is...
1
by: Pranav Bagora | last post by:
hello, I am trying to write a python code which reads a web service and creates its corresponding wsdl file. Any idea how to do it.Please help Thanks Pranav
1
by: Yoramo | last post by:
Hello I'm generating a XML document to a StringWriter. using VS 2005 beta 1. I have 2 problems: 1. I can not set the encoding to UTF-8. I'm getting UTF-16 all the time.. 2. The XML document...
3
by: daniele.balducci | last post by:
Hi All, I'm generating XLS files from ASP(.Net) code using the usual code chunks ... Response.ContentType = "application/vnd.ms-excel" Response.AppendHeader("Content-Disposition", "attachment;...
0
by: manas589 | last post by:
Hi Can any one tell me how to use binding.xml while generating castor bean from an xsd file. i have one xsd file where two element are conflicting. so i thought to use binding file while...
1
by: Nathan Sokalski | last post by:
Visual Studio 2005 recently stopped generating the *.designer.vb files for my *.aspx and *.ascx files. I am using Service Pack 1, and do not believe I did anything differently than normal prior to...
18
by: Grant Edwards | last post by:
Could whoever is responsible for the gateway that is grabbing my postings off of Usenet and e-mailing them out please fix the headers in the mail messages so that I don't get the bounce messages?...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.