HTML Tutorial


 Forum HomeForum Home   FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
RegisterRegister - Not registered yet? Got something to say? Join HTML Code Tutorial!
Submit Button?
Post new topic   Reply to topic    HTML Help Forum Index -> HTML Form
View previous topic :: View next topic  
Author Message
TheGuy



Joined: 29 Jul 2004
Posts: 2

PostPosted: Thu Jul 29, 2004 10:11 pm     Submit Button? Reply with quote

I have radios buttons that you choose from for a test and then at the bottem I have a submit button, How Do I Make It So When You Click The Submit Button It See What Radio Button Is Checked And Then Can Put The Info On A New Page?
mjpliv



Joined: 11 May 2004
Posts: 406
Location: Nova Scotia

PostPosted: Fri Jul 30, 2004 3:15 am     Reply with quote

If you are asking what I think you are asking then you will need send the information to a perl script. The perl script would take your data and send back the new web page. If you don't know how to write perl scripts then you have a bit of learning ahead of you.

Perl and PHP are the prefered languages for manipulating text.

Here is a form I use that sends information to a perl script that I wrote to complete a warrenty registration form. -

http://www.crescohomes.com/forms/enrollment.html

Is this what you mean?
TheGuy



Joined: 29 Jul 2004
Posts: 2

PostPosted: Sat Jul 31, 2004 12:53 am     Reply with quote

Thats what I mean can you tell me more?
mjpliv



Joined: 11 May 2004
Posts: 406
Location: Nova Scotia

PostPosted: Sun Aug 01, 2004 8:43 am     Reply with quote

The form used to collect the information is written in basic HTML, nothing special there at all with the exception of the INPUT tag. The submit button takes the information collected by the INPUT tags and sends them to a perl script (or program if you prefer) located in the cgi-bin folder at one of my hosts. CGI stands for "common gateway interface" and refers to a folder located within the server that allows programs to be run within it. Not all hosting companies allow this feature because it could be exploited for malicious purposes.

Perl is the name of a programming language just like PHP, HTML, C++, etc. Perl is a popular language because it is fairly easy to learn. Although it can be used to mainuplate numbers and perform basic mathematical functions, its real strength is manipulating text. This makes it usefull in creating script generated webpages.

I would suggest a trip to your local book store and pick up book about basic perl. You can also visit the Perl website at http://www.perl.com/ . Keep in mind that there is a bit of a learning curve involved but if you learned how to write basic HTML then there is no reason you cannot teach yourself some basic Perl.

You can download and install a copy of Apache server pre-compiled for both Perl and PHP so that you can test your perl scripts from http://www.indigostar.com/indigoperl.htm .This is much easier than downloading each component then trying to get them to work together.

You will also find many forums like this one that are there to support Perl just like this one supports HTML.
Display posts from previous:   
Post new topic   Reply to topic    HTML Help Forum Index -> HTML Form All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
HTML Help Archive
Powered by phpBB © 2001, 2005 phpBB Group
HTML Help topic RSS feed 

 
HOSTING / DESIGN
MAKE MONEY

Home
  |   Tutorials   |   Forum   |   Quick List   |   Link Directory   |   About
Copyright ©1997-2002 Idocs and ©2002-2007 HTML Code Tutorial