|
| |
|
|
_gail
Posts: 2876 From: So FL Status: offline
|
cgi-bin problems - 4/27/2001 20:31:00
Hi again!I sat all day today in an Advanced FrontPage2000 class and they made form submission seem so easy. However, they never totally explained the process. The host I use gives the following instructions: << Our UNIX web servers have the capability to run CGI scripts in your very own "cgi-local" directory. Put your CGI programs in the cgi-bin directory. When calling the programs from the web page, you must use the alias for the cgi-bin directory. The alias is "cgi-[yourdomain]". If your domain is example.com, then the alias is cgi-example. Note that ".com" is not included. So the action line from your form page would look like action="/cgi-example/program". Put your CGI programs anywhere outside of the cgi-bin directory. In this case, the program name must end in ".cgi".>> Huh?! Nothing seems to work; I don't even know where the info goes or how to retrieve it. Here is a link to my, ah, handiwork. ;-) http://www.arborsnews.com/submission_form.htm (Also got this address once but I have no idea where it came from: http://www.arborsnews.com/_vti_bin/shtml.exe/submission_form.htm) Sorry if my inquiry seems so complicated...but it is. Any help would be so very much appreciated. Thank you. Gail
|
|
|
|
Gil
Posts: 7533 From: North Carolina, USA Status: offline
|
RE: cgi-bin problems - 4/27/2001 23:08:00
Ah Gail - Where the instructions say - action="/cgi-example/program - you need to replace the word "program" with the cgi program you are using to parse the form - like maybe "formmail.pl"? Also you have apop up window about information being sent thru a secure server? Lying to your visitors is not a way to gain trust - it needs a https in the URL to be secure... ------------------ Gil Harvey The Host Factory Resellers are our speciality "Is there another word for synonym?"
|
|
|
|
_gail
Posts: 2876 From: So FL Status: offline
|
RE: cgi-bin problems - 4/28/2001 20:32:00
Thanks for the input Gil,<<Where the instructions say - action="/cgi-example/program - you need to replace the word "program" with the cgi program you are using to parse the form - like maybe "formmail.pl"? Also you have a pop up window about information being sent thru a secure server? Lying to your visitors is not a way to gain trust - it needs a https in the URL to be secure...>> How do I find out what cgi-progrm I am using? I am not even sure what this is. About the pop-up menu, the instructor told us whenever we use a cgi-bin provided by the host it is secure. He even helped me word the text for the pop-up menu. Did he misinform me? The page is simply posted for testing. There is only one non-obvious link to the page from the website and it will remain that way until I get this all figured out. What I can be accused of, I am sure, is that I do not really know what I am doing. Obviously hat they taught in the course is an oversimplification and far away from what I am encountering. I'm just trying to stuggle through this rather than give up. Any additional help will be much appreciated. Much appreciation, Gail
|
|
|
|
_gail
Posts: 2876 From: So FL Status: offline
|
RE: cgi-bin problems - 4/28/2001 20:50:00
Follow-up:Here is the reply I received from my host when seeking help from them: <<As this relates to the web site design issue, we are unable to provide support for this. We can however inform you that your cgi call is incorrect. >> gail
|
|
|
|
Gil
Posts: 7533 From: North Carolina, USA Status: offline
|
RE: cgi-bin problems - 4/28/2001 15:33:00
quote: Originally posted by Gail: Thanks for the input Gil,<<Where the instructions say - action="/cgi-example/program - you need to replace the word "program" with the cgi program you are using to parse the form - like maybe "formmail.pl"? Also you have a pop up window about information being sent thru a secure server? Lying to your visitors is not a way to gain trust - it needs a https in the URL to be secure...>> How do I find out what cgi-progrm I am using? I am not even sure what this is.
Hmmm, What Perl (or PHP) script did you load into your cgi bin? quote:
About the pop-up menu, the instructor told us whenever we use a cgi-bin provided by the host it is secure. He even helped me word the text for the pop-up menu. Did he misinform me?
Yep!! Hope you didn't pay for this "class"  quote:
What I can be accused of, I am sure, is that I do not really know what I am doing. Obviously hat they taught in the course is an oversimplification and far away from what I am encountering. I'm just trying to stuggle through this rather than give up.
I'm sorry - the only thing I can suggest is getting a good book on HTML & CGI and wading thru it. ------------------ Gil Harvey The Host Factory Resellers are our speciality "Is there another word for synonym?"
|
|
|
|
_gail
Posts: 2876 From: So FL Status: offline
|
RE: cgi-bin problems - 4/28/2001 15:45:00
<<I'm sorry - the only thing I can suggest is getting a good book on HTML & CGI and wading thru it.>>OK, thanks anyway. gail
|
|
|
|
ginnie
Posts: 527 From: St. Louis MO USA Status: offline
|
RE: cgi-bin problems - 4/28/2001 16:01:00
Gail,Is there a reason why you're not using the FP form handler ... does your host have FP extensions? If so, the easiest way to get the form working is to use the FP form handler if you're not familiar with installing scripts. It looks like your form is trying to use formmail.pl to process your script. Did you place that script in your cgi-bin? It needs to have the proper permissions and be configured correctly for your server, which means the path to perl needs to be set within the script as well as the path to sendmail. This is information that your host needs to provide you with. Your instructor gave you bad information about secure servers. Email me if you need help with your script.
|
|
|
|
_gail
Posts: 2876 From: So FL Status: offline
|
RE: cgi-bin problems - 4/29/2001 20:08:00
quote: Originally posted by ginnie: Gail,Email me if you need help with your script.
ginnie, *Thank you* so very much for the offer to contact you by email. I will. During the past three years I've volunteered almost 1000 hours to develop and maintain the website for the arborsnews.com. I was seeking help in this forum so I could add a form to the site. Certainly not as easy as I was lead to believe in class. Your kind offer is appreciated! gail
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|