1. You are viewing our forum as a guest. For full access please Register. WindowsBBS.com is completely free, paid for by advertisers and donations.

Reading CGI Files

Discussion in 'Other PC Software' started by Grunty, 2003/03/20.

Thread Status:
Not open for further replies.
  1. 2003/03/20
    Grunty

    Grunty Inactive Thread Starter

    Joined:
    2002/11/07
    Messages:
    326
    Likes Received:
    0
    Can anyone tell me how to read a CGI file?. I sent it to Notepad but that won't work. I thought they were just ordinary text files

    Ta
     
  2. 2003/03/20
    Steve R Jones

    Steve R Jones SuperGeek Staff

    Joined:
    2001/12/30
    Messages:
    12,317
    Likes Received:
    252
    This won't exactly answer your question, but:

    CGI
    Common Gateway Interface
    (C-G-I)

    A method of transferring data from web pages to scripts running on a web server and back again. CGI scripts on the server are most-often written in the Perl language.

    The CGI specification defines how to pass arguments to the program as well as various environment variables the program can use (e.g., the browser's IP address). CGI programs can be very flexible. They are usually located in the directory "/cgi-bin" but this is not required. Some Web hosts may also provide standard scripts located in "/cgi-sys ".
     

  3. to hide this advert.

  4. 2003/03/20
    Grunty

    Grunty Inactive Thread Starter

    Joined:
    2002/11/07
    Messages:
    326
    Likes Received:
    0
    Many Thanks for your reply. I am using a programme called Sitexpress to generate a search facility on our company website. It creates db files and a cgi script.

    The problem is that our web hoster will not allow scripts to be run on its servers that they haven't examined first - I suppose the idea being that we should be expected to pay them for the privalege of creating the search engine for us.

    I don't really need to read the file before I send it to them, but was just interested to see what was contained in it as, apart from a little html and javascript, my knowledge of programming languages got lost half way through amstrad basic about 20 years ago.
     
Thread Status:
Not open for further replies.

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.