Results 1 to 4 of 4

Thread: More CGI

  1. #1

    Thread Starter
    Stuck in the 80s The Hobo's Avatar
    Join Date
    Jul 2001
    Location
    Michigan
    Posts
    7,256

    More CGI

    $ENV{'DOCUMENT_NAME'}; Will give me the file name, ie index.shtml...

    is there something that will give me http://www.site.com/index.shtml?
    My evil laugh has a squeak in it.

    kristopherwilson.com

  2. #2
    scoutt
    Guest
    isn't it

    $ENV{'REQUEST_URI'};

    or something. not sure on that one.

  3. #3
    Fanatic Member punkpie_uk's Avatar
    Join Date
    Sep 2001
    Location
    UK
    Posts
    645
    I think its SCRIPT_URI.

    http://www.atomicdesigns.net/adime/perl/lists/env.html

    try this site for a list of Enviroment Variables

    Lee M McCormick
    http://www.dynamicallywebbed.com

  4. #4

    Thread Starter
    Stuck in the 80s The Hobo's Avatar
    Join Date
    Jul 2001
    Location
    Michigan
    Posts
    7,256
    I don't want the script URL. I'm executing the script in a page via SSI, and want to know what page it was executed in.
    My evil laugh has a squeak in it.

    kristopherwilson.com

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width