frontserve
12-05-2000, 09:23 PM
I want to set the forms on my site to submit data as text files. To do this I need the CGI-bin directory as well as the Storage Directory.
I've made a couple of assumtions: I should publish the data to UNIX, and the Perl Path for Unix can be
"usr/bin/perl".
Finally, how would I access this information once it is published to the site, and is there a way to autoforward the text files to my personal mailbox, or to a mailbox on the site.
TheComputerGuy
12-05-2000, 10:18 PM
I would recommend that you make the form been sent to you email address, i think Annette helped me greatly on that issue a long time ago, you may want to search for it. But that is a simple form that is sent through email systems.
Chicken
12-05-2000, 10:23 PM
Are you just trying to have a form on your site that emails the results directly to you, or is there something I'm missing?
frontserve
12-05-2000, 10:57 PM
No, that is how I have it set up now. I would like to use a different method so that I can include required fields, and to also be able to redirect visitors directly to "success" or "resubmit" pages automatically.
Is this possible??
kunal
12-05-2000, 11:19 PM
You can do this using, any Perl or PHP script. Check out hotscripts.com or cgi-resources.com for "form to email" scripts. They will let you specify the important feilds and redirect pages to various different ones, etc etc.
Jaiem
12-06-2000, 10:08 AM
Frontserve - I have a Perl CGI script that does just that. You set up a form and it writes the input to an ASCII text file with each field comma delimited. All new records are appended to the end of the file. Also has a "success" page redirect function.
Email me if you'd like a copy.
Chicken
12-07-2000, 12:24 PM
Something like this?
http://www.worldwidemart.com/scripts/formmail.shtml