473,549 Members | 2,862 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Form needs to output a CSV file

1 New Member
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 2657
Banfa
9,065 Recognized Expert Moderator Expert
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 Recognized Expert Specialist
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
cdglloyd
1 New Member
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
21671
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 do I write here to acces function test()"> <input type="text" name="tekst">
1
2140
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. i.e Form output = PM. Here is file sample that needs to be written to. Session("dbFields") = "*" Session("dbRs") = "Action" Session("dbWhere") =...
16
11825
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. I can do this individually for each graph but this does not help me as I need both on the same JPEG. I thought I would try an export the form that...
4
7063
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 deployment project (myproj installer) I added my windows app to the installer under myproj installer properties, I set bootstrapper
7
17273
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 to get it to work in Visual Basic. I tried coding it once myself from scratch and then modified a class that I found on a newsgroup (referenced...
7
1295
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 page it will look at the primary key for that table, then look at another table, and wherever it contains a reference to that particular value,...
10
10023
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 believe that this has to do with unreleased form component events or event handlers. I'm comparatively new to .net and windows forms, in the sense that...
10
3183
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 the output, save for those that manage color codes or text presentation (in short, the ones that are ESChttp://fd0man.theunixplace.com/Tmud.tar which...
1
7878
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, drop-downs etc, to a text(.txt) file on the server. It needs to be in csv format so that they can create an excel file from it. I'm not familar with...
3
2625
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 report, filtered, from different forms. How do I carry the name of the current form into the
0
7446
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7808
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
1
5368
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5087
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3498
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3480
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1935
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1057
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
757
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.