View Full Version : Forms
MikeA
11-28-1998, 06:38 PM
Ok, maybe I'm missing the boat, but how in the heck do you get a SUBMIT button to save the data to a file? Can someone give me the how-to's? I'm using Netobjects Fusion, but I can get in and get my feet wet with the raw code.
As long as were on this, how do you setup password pages, for instance, I give Deb a username and password and tell her to go to www.login.com or whatever and on that page is a USER NAME box and a PASSWORD box and a SUBMIT button. How do you tell the browser to:
1) Send the information to the server
2) Tell the server to check a certain file
3) report a failure or
4) go to the right site, if the username and password are correct.
MANY THANKS to whoever can help me with this.
Terra
11-28-1998, 06:51 PM
You will need to have a cgi script that picks up on the values submitted, either by the GET or POST methods...
There is a very good tutorial at:
http://www.bignosebird.com/progtut.shtml
FutureQuest.net is fully outfitted with all the Perl modules necessary for your coding... CGI.pm / LWP.pm / etc...
As far as password protecting directories, there is a thread on that:
http://www.aota.net/ubb//Forum5/HTML/000009.html
You have the choice of either using htpasswd (plaintext) or dbmmanage (hashes) from your telnet/SSH access...
In the Future, we are designing a CNC file manager that will do this via a GUI interface... A lot of coding work will have to be done by myself to make this a reality... It is currently in -Gamma- project phase...
Hint, use the forum search feature to look for 'password', as this is becoming our support knowledge base... http://www.aota.net/ubb//wink.gif
CGI coding takes a bit to learn/master, patience is the key here for effective capability...
Hope this gets you started...
--
Terra
sysAdmin
FutureQuest.net
pqwabbit
11-28-1998, 10:15 PM
Hey Mike -
there are some cgi progs out there that will make setting up passworded directories adn giving permissions to various users like easy - I have then running on my sites - (they came preinstalled and I cant seem to find who did them - so I'm guessing the script belongs to my ISP.) But there are cgi's out there
check out http://www.cgi-resources.com
I also really like alienform - for my form processing but if you're a cgi newbie I wouldnt try to tackle it - there are probably way simpler programs out there depending oin what sort of form you want - I did a huge survey and needed to have a really comprehensive and configurable program to run it.
vBulletin® v3.6.8, Copyright ©2000-2008, Jelsoft Enterprises Ltd.