Cameron wrote: >Date: Wed, 02 Apr 2003 14:56:38 -0600 >From: Cameron Dorey <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Subject: Re: HTML forms to a file > >Lawrence F. Durfee wrote: >> Cameron Dorey wrote: >> >>>Just have your form ACTION be a small perl script which writes your >>>input to a file. In order to do this, you have to know how to set up >>>your web server for CGI (outside the scope of this mailing list) and >>>some simple Perl (not PERL). >> >> Cameron, >> >> Thanks for the response and I did spend some time looking at the >> sites you suggested. However, I could be wrong, but installing a web >> server seems like a big deal and it also seems like a huge overkill just >> to get some data out of an HTML form (I expect most of my forms to be >> somewhat small). > >In the old days (literally, last year), installing a web server on >Window$ WAS a big deal. But not anymore. Assuming you have a capable >computer (at least 200 MHz Pentium or equiv., 64 MB RAM - 128 is better, >WinNT, Win2K, WinXP - you could even go with Win98 if your situation is >simple and secure, i.e., an intranet with little chance of more than one >person entering data simultaneously), the procedure is this: (1) bop on >over to www.apache.org and download the latest Apache 2.0 server binary >(2.0.44?) for Window$, (B) double-click on the downloaded file, (III) >follow the directions from the Installation Wizard, which mostly consist >of you telling where you want to put your web server files. The most >time-consuming part is the download. > >If you haven't installed Perl, I would advise getting the latest 5.6 >build (5.6.633?), since there seem to be too many things still missing >from the 5.8 build (from reading this mailing list) to make it really >easy to use if you decide to get fancy and install a bunch of modules. > >> >> I looked at CGI (as you suggested), ASP and Windows script hosting, >> but it is not clear to me how to make any of them work. > >Lincoln Stein's CGI.pm module which comes with core Perl makes using the >CGI interface an absolute breeze. There are even a bunch of examples for >doing useful stuff and the documentation is truly voluminous. I haven't >done any ASP or WSH stuff, never had the need for it. > >> Just for the >> fun of it, I also tried replacing 'mailto:' with 'file:', but I >> couldn't make that work either. > >Nope, it won't. You need a web server. > >One thing about PC's nowadays, they are SO cheap and SO fast and SO >capable (IMHO, due to M$ bloatware pushing the hardware, thank you , >Bill), that it is pretty much impossible to find one manufactured within >the last 3 years which will NOT run a webserver and 20 other >applications without breaking a sweat. > >Cameron > >---- >Emails cannot be guaranteed to be secure or free of errors, viruses, >bacteria, fungi, prions, or the heartbreak of psoriasis. The sender >does not accept any liability or responsibility for any interception, >corruption, destruction, loss, late arrival or incompleteness of or >tampering or interference with this email or for its incorrect delivery >or non-delivery for whatsoever reason or its effect on any electronic, >magnetic, mechanical, biological, or metaphysical device of the recipient. >---- > >-- >Cameron Dorey >Associate Professor of Chemistry >University of Central Arkansas >Phone: 501-450-5938 >[EMAIL PROTECTED]
Cameron, I am using a very capable Pentium based PC running Win2k (a very incapable OS... enough said) and so your suggestion of installing a server is something I could do. I looked at the site you suggested but after a quick review, I found that there is a major problem with ZoneAlarm, something I use and like, and I therefore decided not to install that server. I am only about a third of the way through Lincoln Stein's book "Network Programming with Perl" when I realized that I can write a simple server, in Perl, that will suit my purposes. Within thirty minutes, I had the web server up and running. I will now focus on the issue of implementing the `POST` feature into the server code. I believe Mr. Stein should be praised for his fine work on books and contributions of Perl modules. I would highly recommend the book and the use of any Perl module he develops. I have been using Perl for about four (4) years now and it is nothing less than fantastic. The language is very elegant and allows one to develop code quickly. A premier feature, I believe, is the fact that one can find modules (*.pm) on almost any subject (networking, algorithms, etc.) from a variety of different sources. Furthermore, the ease with which modules are installed and used (POD documentation and so on) is phenomenal. I applaud the efforts of ActiveState to provide the basic Perl package, the web site for the module repository and this very forum. I hope they are able to continue this effort as I think it will continue to significantly advance the state of the art. Thanks to you and all those that responded. Thanks, LarryD _______________________________________________ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs