Solved

CGI AND FORMS

Posted on 1997-05-11
2
229 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Automating Terraform w Jenkins & AWS CodeCommit

How to configure Jenkins and CodeCommit to allow users to easily create and destroy infrastructure using Terraform code.

Question has a verified solution.

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

It is a general practice to get rid of old user profiles on a computer  in a LAN environment. As I have been working with a company in a LAN environment where users move from one place to some other place at times. This will make many user profil…
Originally, this post was published on Monitis Blog, you can check it here . In business circles, we sometimes hear that today is the “age of the customer.” And so it is. Thanks to the enormous advances over the past few years in consumer techno…
Learn the basics of strings in Python: declaration, operations, indices, and slicing. Strings are declared with quotations; for example: s = "string": Strings are immutable.: Strings may be concatenated or multiplied using the addition and multiplic…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

627 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