 |
|
|
| View previous topic :: View next topic |
| Author |
Message |
TheGuy
Joined: 29 Jul 2004 Posts: 2
|
Posted: Thu Jul 29, 2004 10:11 pm Submit Button? |
|
|
|
| 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
|
Posted: Fri Jul 30, 2004 3:15 am |
|
|
|
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
|
Posted: Sat Jul 31, 2004 12:53 am |
|
|
|
| Thats what I mean can you tell me more? |
|
mjpliv

Joined: 11 May 2004 Posts: 406 Location: Nova Scotia
|
Posted: Sun Aug 01, 2004 8:43 am |
|
|
|
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. |
|
|
|
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
|
|
|
|
|
 |
|
|
|
|
|
|
|