Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Is cgi the scripting code used for web forms? 4

Status
Not open for further replies.

DrySnot

Technical User
Nov 29, 2007
46
Yea I know but you got to learn sometime.

I just created a form on my web page. The kind where the user can type in there name, email, comment, and so on then click submit.

I am trying to learn what kind of script or code I need to learn to make the form talk to my host or how ever it works.

My end result i'm trying to make happen is when they click submit I get a text message/email on my cell phone.

I just want to set it up in a way that spam bots can't get my cell number or email address.



Is it CGI-Bin Script that I need to learn or Java?

Thanks for the kick in the right direction.
 
Perl and PHP are the most popular CGI languages.

The forms themselves are just regular HTML code, and when you submit them your browser just makes a regular request to the form's target and sends the data you filled in along with the request, so any server-side program could respond to that request (i.e. you can even compile a C++ program and use it as CGI).

-------------
Cuvou.com | My personal homepage
Project Fearless | My web blog
 
CGI is actually a protocol, like HTTP, FTP, etc, it's not a scripting language. You can write CGI scripts in any number of programming languages. Perl is realtively easy to learn, and more than likely there is already a module written that does what you are attempting: send form data to a cell phone. The place to start is see what scripting languages your server supports. Perl and PHP are almost universal.

------------------------------------------
- Kevin, perl coder unexceptional! [wiggle]
 
Thank you very much for the help. My host had both and i'v got what I need to get it working.

Thank you again for the advice.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top