www.webdeveloper.com
Results 1 to 3 of 3

Thread: Environment Variables

  1. #1
    Join Date
    Mar 2003
    Posts
    5

    Question Environment Variables

    Is there anyway I can learn environment variables from the internet?
    Anyone recommend a good tutorial web site for enviroment variables ?
    thanks

  2. #2
    Join Date
    Nov 2002
    Location
    NY, USA
    Posts
    731

  3. #3
    Join Date
    Dec 2002
    Location
    High on life
    Posts
    10,104
    You can use this to print off the variables that your server supports:

    Code:
    #!/usr/bin/perl
    
    print "Content-type: text/html\n\n";
    
    foreach $env_var (keys %ENV)
    {
        print "The $env_var variable is: $ENV{$env_var}<br>";
    }

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles