Solved

CGI AND FORMS

Posted on 1997-05-11
2
194 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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Batch, VBS, and scripts in general are incredibly useful for repetitive tasks.  Some tasks can take a while to complete and it can be annoying to check back only to discover that your script finished 5 minutes ago.  Some scripts may complete nearly …
This article will show, step by step, how to integrate R code into a R Sweave document
Learn the basics of modules and packages in Python. Every Python file is a module, ending in the suffix: .py: Modules are a collection of functions and variables.: Packages are a collection of modules.: Module functions and variables are accessed us…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

707 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

16 Experts available now in Live!

Get 1:1 Help Now