Solved

CGI AND FORMS

Posted on 1997-05-11
2
199 Views
Last Modified: 2013-12-25
Well, I currently own a site on GeoCities, but I'd like to switch to my local server.  All I want is a form that'll send me the info by mail.  I am pretty sure this requires a cgi scripts on my server.  But, I had the impression that these scripts are placed in some "cgi-bin" directory, is this correct?  I've seen no such directory, and my server doesn't provide any type of "automatic" forms like GeoCities.  I need step-by-step info concerning everything I just typed, please help.  I know there must be a way.

-BadMoon
0
Comment
Question by:badmoon
2 Comments
 
LVL 5

Accepted Solution

by:
icd earned 100 total points
ID: 1828006
When you say 'switch to my local server' I presume you mean you are going to change your Information Service Provider (ISP)? If so who are you moving to?

Be aware that many ISPs offer cheap or even 'free' web pages but do so by not providing the ability to run your own cgi scripts. I think the GeoCities is such. The best you can hope for is a number of standard scripts, one of which is usually called formmail.pl and this allows a form to be emailed to you for processing on your own machine. You would need to check with your provider if they offer this service.

If your ISP does allow you to upload your own scripts then you are quite right in assuming that there would be a 'cgi-bin' directory. How to upload your scripts,how to set the permissions etc would depend upon the provider. They should be able to advise you.

An alternative is that you could refer to a script running on another machine. For example, a form running on one server could in theory 'post' the information to a script running on another server. To do this however you still need to be able to upload a script or pursuade someone to 'host' your script for you. I believe that standard scripts such as formmail.pl however will detect where the posting came from and refuse to email it if it came from another host so I don't think you will be able to use the GeoCities scripts in that way.

I hope this answers your questions?
0
 

Author Comment

by:badmoon
ID: 1828007
Thanks, I'll check with my ISP
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The following is a collection of cases for strange behaviour when using advanced techniques in DOS batch files. You should have some basic experience in batch "programming", as I'm assuming some knowledge and not further explain the basics. For some…
Introduction This tutorial will give you a fast look what you can do with WhizBase. I expect you already know how to work with HTML at least, and that you understand the basics of the internet and how the internet works. WhizBase is a server-s…
Learn the basics of if, else, and elif statements in Python 2.7. Use "if" statements to test a specified condition.: The structure of an if statement is as follows: (CODE) Use "else" statements to allow the execution of an alternative, if the …
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

932 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now