473,386 Members | 1,766 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,386 software developers and data experts.

Form needs to output a CSV file

1
Hello, This is my first post here and I am also very new to programming. I need to take this form:
http://www3.losmedanos.edu/info/music.htm

and make it so when the user fills it out it will send an email to the owner of the form with a CSV file attached so they can bring it into excel.

Where should I start?

Thanks
Jun 22 '06 #1
3 2652
Banfa
9,065 Expert Mod 8TB
Hmmm not a basic task, I suspect you will need to write a CGI script (either in Perl or PHP or something similar) although a 3rd party form mail might provide this information, then redirect the action of your form the the new CGI.

Obviously (at least to me) the CGI script will have to take the data supplied from the form and create a mail with a an attached CSV file containing that data. While I know how to send a basic mail from a CGI script I do not actually know how to create one with an attachment, but that is the basic idea.
Jun 22 '06 #2
ronverdonk
4,258 Expert 4TB
Can't be that difficult. What is the format of your required CSV file, e.g.
Expand|Select|Wrap|Line Numbers
  1. "varname1", "varvalue1", "varname2", "varvalue2", etc ....
or what other format do you need to generate?

When I know that I could possibly give you a sample of the code you are looking for. Otehrwise send me some of your code and I'll look into it.

Keep cool - Ronald :cool:
Jul 20 '06 #3
Hi

I have the same problem as Eloine, I'm just trying to create the standard format CSV file.

If possible could someone post a sample code

Thanks

Chris
Sep 23 '06 #4

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

Similar topics

2
by: Ricki Susic | last post by:
Hi, Can anyone tell me if it is possible to call a function from a html form, where the function is included in the same file as the form. <html> <body> <form method="post" action="what...
1
by: Ken | last post by:
Hi , I need to be able to write results from a form picklist to a file. I know I can append the output at the end of the file but is there a way to add the output to a certain place in the file....
16
by: David Lauberts | last post by:
Hi Wonder if someone has some words of wisdom. I have a access 2002 form that contains 2 graph objects that overlay each other and would like to export them as a JPEG to use in a presentation....
4
by: bob lambert | last post by:
Help I am trying to deploy to another pc a vb.net std 2002 windows form application. I am confused. I created a project - windows form I built form, compiled and debugged. I created a...
7
by: Mark Waser | last post by:
Hi all, I'm trying to post multipart/form-data to a web page but seem to have run into a wall. I'm familiar with RFC 1867 and have done this before (with AOLServer and Tcl) but just can't seem...
7
by: wraithzshadow | last post by:
hello, I'm trying to code a form that will output all data on from one table into separate pages (can scroll through them using the arrows, or entering a specific entry at the bottom), but on each...
10
by: morangolds | last post by:
Hi, I've been having a problem with C++ Windows Forms apps not "ending" when you close the form window. I've searched about this problem all over the place and most searches have lead me to...
10
by: Michael B. Trausch | last post by:
Alright... I am attempting to find a way to parse ANSI text from a telnet application. However, I am experiencing a bit of trouble. What I want to do is have all ANSI sequences _removed_ from...
1
by: nufanvandal | last post by:
Hello, I created a web form in html, I need to create a server-side script using ASP and embed it into the html, so that when the user clicks submit, it sends(saves) the data from text boxes,...
3
by: franc sutherland | last post by:
Hello, I have a report which I filter using the me.filter command in the OnOpen event. Me.Filter = "OrderID=" & Forms!variable_form_name! Me.FilterOn = True I want to be able to open that...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.