Search 5,000,000+ questions and answers.

Frequently Asked Questions

Can Expect be run as a CGI script?

Expect FAQ (Frequently Asked Questions)
Many Expect scripts can be run directly with one change - the following line should be inserted before any other output: puts "Content-type: text/html\n" Next, make sure you invoke external programs using full paths. For example, instead of "spawn telnet", use "spawn /usr/ucb/telnet" (or whatever). Remember that the PATH and other environment variables are going to be different than what you are used to.
Related Questions

I get a Server Error when I run my cgi script. How can I fix that?

CheaperWebHost.com - Frequently Asked Questions (FAQs)
First, make sure that the permissions on the file are set properly for execute permission. By default, the permissions are 644 (rw-r--r--) and do not allow execution. You need to change the permissions, or the mode, on your cgi script to 755 (rwxr-xr-x). Some FTP programs allow you to change file permissions, if yours doesn't, then you can use the File Manager in your Control Panel to change the permissions.
Related Questions

What is a CGI script?

Virtual Domain FAQ's. BonusPages Web Site prices from less t...
A CGI script is a special kind of text file that the server can run to perform various tasks, such as displaying a hit counter, or mailing a form to you which has been filled out by a customer. We offer 3 basic CGI scripts already installed and ready to run. You also have access to your own CGI-BIN directory where you can place your own scripts.
Related Questions

Untitled Document
CGI (Common Gateway Interface) scripts are used to supplement basic HTML pages by making your Web site more interactive and functional. You can program many useful features in CGI scripts, such as hit counters, guest books, order forms and message boards. CGI is an alternative to Microsoft Active Server Pages (ASP). CGI programs are programs that actually execute on the web server, not on the client's computer.
Related Questions

DPW Enterprises Web Design and Hosting Services FAQ's - Manc...
Common Gateway Interface (CGI) is a standard method of transmitting information between an application and a Web server. CGI scripts are used to supplement basic HTML pages by making your Web site more interactive and functional. You can program many useful features in CGI scripts, such as hit counters, guest books, order forms and message boards. CGI is an alternative to Microsoft Active Server Pages (ASP).
Related Questions

Frequently Asked Questions: WestLake Training
CGI (Common Gateway Interface) scripts are programs that reside on your Web server and are primarily used to process information entered into forms. To explain further: when you have a form on your Web site (e.g., a product order form or a class registration form), there are two components to it: The HTML page containing the code for the form. When the user visits this page, the form is displayed in the browser so that the user can fill it out.
Related Questions

BonusPages FAQ's. Web Page Hosting less than $3.00/Month! Fr...
A CGI script is a special kind of text file that the server can run to perform various tasks, such as displaying a hit counter, or mailing a form to you which has been filled out by a customer. We offer 3 basic CGI scripts already installed and ready to run. Contact us for specific instructions on how to use these on your pages.
Related Questions

How do I call my CGI script?

CGI Frequently Asked Questions
In your HTML documents, reference your cgi script with the following path: http://www.yourdomain.com/cgi-bin/script.
Related Questions

Can Expect act like a browser and retrieve pages or talk to a CGI script?

Expect FAQ (Frequently Asked Questions)
From: jasont@netscape.com (Jason Tu) Date: Sat, 02 Nov 1996 09:51:03 -0800 I read your book "Exploring Expect" and find Expect is just the tool to test Netscape's enterprise server product, since it is very easy to use and quick to develop. I figured I would use telnet to send HTTP protocol dialog to a HTTP server and simulate how it behaves. But I couldn't get it to work at all. I am wondering that there might be a quick example that you can share with me.
Related Questions

What if my CGI script isn't working?

Web Hosting Singapore - Frequently Asked Question
Check the error log - it will often give you a line number and an error to work with - if it just says "Premature end of script headers" check the following: Check the permissions - Make sure that the script is *only* writeable by the owner - not group or world. Check to make sure that the script is outputting the correct header: Content-type: text/html\n\n is the most common for cgi scripts that output HTML.
Related Questions

Why doesn't my cgi script work?

Web Hosting Support FAQ's
The most common reason for this to happen is that the scripts permissions haven't been set properly. Make sure that the permissions of the script file and the directory tree (relative to the server's document root) are set no higher than 755, or user: read, write, execute; group: read, execute; other: read, execute (-rwxr-xr-x). Web Hosting | Web Hosting Support | Contact | Linking | Site Map | Acceptable Use | Privacy Policy | Service Agreement
Related Questions

Can you help me with my CGI script configuration ?

Netmediums.net :: web hosting, domains and e-commerce soluti...
We will avail you with all the necessary information you need to setup your scripts on our servers. However, due to the large number of scripts we cannot know or be familiar with each script.
Related Questions

Untitled Document
We will supply you with all the information you need to set your scripts up on our servers. However, due to large the number of scripts, we cannot know or be familiar with every script there is. If you need help beyond basic settings and paths we can supply you with programming help at additional cost.
Related Questions

Where can I find a sample CGI/Perl script?

FAQ - JSP Hosting, Servlet Hosting, J2EE Hosting
If you have a tomcat installation and you whish to use a servlet to replace noexist documents, and you want to do it using Apache and PHP, then
Related Questions

What can my CGI script access on the computer?

Your Connection to Seward County, Nebraska - sponsored by Co...
Your script will run in a protected environment under the full perl interpreter (not mod_perl). Your script will have access to all of the functions and modules offered in perl. Because of the security features, scripts do not have access to any system-level programs, system files or shell interfaces. Your script will be able to access all of the files in the cgi directory and all of the web pages that are one level up from the cgi directory.
Related Questions

How do I associate a CGI script with Perl?

Software to create Common Gateway Interface (CGI) for online...
In 'My Computer' or 'Windows Explorer', select View | Options | File Types | New Type. Specify the description as CGI script and the filename extension as .pl or .cgi . Click New | Open and specify perl.exe as the command to execute the action.
Related Questions

Can I get help with cgi script installation?

Domain Hosting FAQ
We will provide advice and all the information you need to set your scripts up on our servers. Much of the data you will require is readily available via your control panel. However, mainly due to time constraints , we can't get involved in the actual installation and/or troubleshooting, which can take many hours. Generally, the author of the script is the most efficient and economical source of assistance when the script doesn't run as it's supposed to.
Related Questions

How do I run a CGI script over the Web?

I211 Information Infrastructure II
Name the CGI script using the extension cgi, for example myscript.cgi, and place it in the /var/www/cgi-bin/myusername directory. Make sure that the script has the appropriate permissions: it should be world-readable and world-executable (755). Test your script locally (from the shell) first, to make sure it compiles and runs without errors before it is run over the Web. Finally, point a browser to http://sulu.informatics.indiana.edu/cgi-bin/myusername/myscript.cgi.
Related Questions

What are the limits for a CGI script?

Concordia University
In order to protect the server from poorly designed CGI scripts that might consume all available system resources, limits are placed on a script when it runs. Limits at the time this is written include use of up to 10 seconds of CPU time, writing up to 256KB to a file and using up to 16MB of memory. If a script exceeds a limit, it will be terminated. The actual requirements of a typical script are low.
Related Questions

What can my CGI script access?

Concordia University
A CGI script is run in a protected environment under the full perl interpreter (not mod_perl). The script has access to all of the functions and modules offered in perl. A script does not have access to any system-level programs, system files or shell interfaces. A script is able to access all of the files in the cgi directory and all of the web pages that are one level up from the cgi directory (i.e., everything in your home directory).
Related Questions

My CGI script is not working, can you help?

VSBW - Web Hosting - Frequently Asked Questions
Our support does not cover CGI script debugging or installation for free. We consider this a function of web design. Check the domain's error_log file via FTP, sometimes you see a "Premature end of script headers" error which usually means that the file has been corrupted. Over 90% of the time it is a problem with the module dependencies. For security reasons we do not undertake any module or software installation.
Related Questions

How do I write a CGI script?

CGI scripts
For more details on CGI scripting than you ever wnated to know, check out Google Directory's CGI section.
Related Questions

S-4 Inexpensive Webhosting for SQUAREDANCERS: FAQs
Our support does not cover CGI script debugging. We consider this a function of web design and we do not offer any in-house web development or consulting services. Check the domain's error_log file via FTP, sometimes you see a "Premature end of script headers" error which Over 90% of the time it is a problem with the module dependencies. For security reasons we do not undertake any module or software installation.
Related Questions

How can I use the Forms to File CGI script?

Webadmin Documentation
This example above will submit information entered in the 'test' textbox into a file called 'myfilename'. This file will be stored in the root directory with a .frm extension, so that it's more difficult to delete this file by accident. To protect directories, you do not need to create .htaccess and .htpasswd files anymore. Instead, you can use the Webadmin tool and select option 6.
Related Questions

Got A Question? Ask Our Community!


More Questions >>

© Copyright 2007-2008 QueryCAT
About • Webmasters • Contact