RandomUser
01-11-2004, 12:21 AM
I really hope to take advantage of CGI and use it in connection with my website in order to liven it up, but by the way things are currently going it doesn't seem like that will happen...
I just can't get it into my head how the heck you go about setting up a basic CGI script and make it active on your webpage. I own a book about CGI and the HTML/XHTML books i own all have at least one chapter devoted to CGI but even with all this information, i still can't get a clear picture of how it actually works. Ok, ok, perhaps i should read my books more, but as i skim through, i become even more lost. I know that my host allows for CGI activity... And that's it. What i do next i have no idea. I have pondered the HTML Goodies CGI tutorials but i get stuck when the word "telnet" is used.:confused: I've heard that the personal creation of CGI type scripts is dependant on what Internet Service Provider you use. WFT? I use NTL...:rolleyes:, heh. I am totally lost.
Here's what i guess you do when setting up a CGI script (don't laugh):
1. Create a script using a language designed for CGI (Perl or something)... Or just copy a popular script and use that. Ok, just pretend we've made a script that will make data from an HTML form be sent to a particular e-mail adress when the user clicks "send".
2. Save the script as .whatever (.pl, .sh or .exe)
3. Log in through FTP and place the script in your cgi-bin.
4. Create an HTML document designed to work with the CGI script [The HTML form be sent to a particular e-mail adress when the user clicks "send"] and link the CGI script to the appropriate part of the HTML code...
That's it. That's my screwed up way of thinking how CGI scripts work. I've had a quick look at previous threads in the CGI forum and almost everyone seems to know what they're doing (well to a certain extend)... Nearly everyone can get past the first hurdle of CGI. I can't. Hopefully a generous forum member will provide me with a bit more BASIC knowledge of this "baffling" area of the world of web design...
Thank you for taking the time to read this post.
I just can't get it into my head how the heck you go about setting up a basic CGI script and make it active on your webpage. I own a book about CGI and the HTML/XHTML books i own all have at least one chapter devoted to CGI but even with all this information, i still can't get a clear picture of how it actually works. Ok, ok, perhaps i should read my books more, but as i skim through, i become even more lost. I know that my host allows for CGI activity... And that's it. What i do next i have no idea. I have pondered the HTML Goodies CGI tutorials but i get stuck when the word "telnet" is used.:confused: I've heard that the personal creation of CGI type scripts is dependant on what Internet Service Provider you use. WFT? I use NTL...:rolleyes:, heh. I am totally lost.
Here's what i guess you do when setting up a CGI script (don't laugh):
1. Create a script using a language designed for CGI (Perl or something)... Or just copy a popular script and use that. Ok, just pretend we've made a script that will make data from an HTML form be sent to a particular e-mail adress when the user clicks "send".
2. Save the script as .whatever (.pl, .sh or .exe)
3. Log in through FTP and place the script in your cgi-bin.
4. Create an HTML document designed to work with the CGI script [The HTML form be sent to a particular e-mail adress when the user clicks "send"] and link the CGI script to the appropriate part of the HTML code...
That's it. That's my screwed up way of thinking how CGI scripts work. I've had a quick look at previous threads in the CGI forum and almost everyone seems to know what they're doing (well to a certain extend)... Nearly everyone can get past the first hurdle of CGI. I can't. Hopefully a generous forum member will provide me with a bit more BASIC knowledge of this "baffling" area of the world of web design...
Thank you for taking the time to read this post.