Reply
form handling
Old 09-27-2007, 07:22 PM form handling
deannal's Avatar
Junior Talker

Posts: 1
Name: deanna
I have a form that the results are emailed, via formmail.asp - now trying to see the best way to add a script so the results are also stored as a .csv or text file on the server. Can anyone give me a suggestion?

I'm trying to help a non-profit fix their site - they created it Dreamweaver, but their hosting service dosen't support php/mysq. So, I need to redirects the form results to a file in their root directory I guess.

Last edited by deannal : 09-28-2007 at 07:45 AM.
deannal is offline
Reply With Quote
View Public Profile
 
When You Register, These Ads Go Away!
Old 09-28-2007, 08:24 AM Re: form handling
tripy's Avatar
Fetchez la vache!

Posts: 2,057
Name: Thierry
Location: In the void
Well, without any server side processing (being php, cgi or asp) you simply cannot save a file...

HTML can only present datas, and javascript cannot handle files. And as it's a client side language, it could not interact with the server directly.

Seriously, the price of an hosting with php is so cheap, you should recommend them to move their site to another host.
Another solution could be to do the post to another site with PHP, that would create the csv, and then send it again to an email, but that would be totally insecure, and suggest to many problems.
__________________
Listen to the ducky: "This is awesome!!!"

tripy is offline
Reply With Quote
View Public Profile
 
Old 09-28-2007, 05:27 PM Re: form handling
coolkbk585's Avatar
Be good this Christmas!

Latest Blog Post:
KBlog has been deativated
Posts: 642
Name: Kyle
Location: Ada, MI
Yeah, it would be hard not to do it without the server-side processing.

There are a lot of free form hosts...and you can look at the form results directly. It will even make graphs & stuff of the data.

i/e FreedBack
__________________
<?php if($Adsense_Revenue > 0): define('HAPPINES','100%'); else: define('HAPPINESS', '0%') endif; ?>
coolkbk585 is offline
Reply With Quote
View Public Profile Visit coolkbk585's homepage!
 
Old 09-29-2007, 06:13 AM Re: form handling
chrishirst's Avatar
Super Moderator

Posts: 13,658
Location: Blackpool. UK
So no php/mysql but obviously via formmail.asp



Moving thread to ASP forum.
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
Indifference will be the downfall of mankind, but who cares?
Code Samples | People Counting System
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Reply     « Reply to form handling
 

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.14580 seconds with 12 queries