Forum Moderators: open

Message Too Old, No Replies

CSV file without server side script.

         

Truck

2:32 pm on Jan 25, 2008 (gmt 0)

10+ Year Member



I am a web developer for a state government. We can not use any php, perl or cgi scripts. I am trying to build a simple form that I can write to a csv file. Is this possible without some type of server side script?

[edited by: Truck at 2:32 pm (utc) on Jan. 25, 2008]

ceestand

2:40 pm on Jan 25, 2008 (gmt 0)

10+ Year Member



Not to my knowlege. What OS is the web server running?

Why can't you use server-side scripts? I could understand no client-side scripts for Section 508 compliance or something, but server-side won't have any effect on the user and it's no cost assuming you're running Apache or IIS.

jtara

4:36 pm on Jan 25, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



There's no way you can have a form write to a file PERIOD.

Without server-side scripting, the only thing you can do with a form is a mailto. This will probably confuse your users, as they aren't used to seeing them. The browser will attempt to open the user's email client with a new mail message with the content of the form, pre-addressed to whomever you want to receive the mail.

It's one of the dinosaurs of the HTML standard.

However, you said you cannot use any "PHP, Perl, or CGI scripts". OK, then, what kind of scripts CAN you use? ;)