Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 713505
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T04:58:08+00:00 2026-05-14T04:58:08+00:00

I was actually going through the question 1636644 .. and got confused with this

  • 0

I was actually going through the question 1636644 .. and got confused with this

" The getenv() function access to any environment variable to get the related value! "

Also ..

" It would probably be better to use $_SERVER['REMOTE_ADDR']; to prevent incompatibilities between servers. "

what kind of compatibility issue can this be ??

Lastly, it says $_SERVER is an array with many elements but I find only the IP Address there .. does this array store anything else too???

apologies for all these questions packed in one .. this is bcoz these are all related ..

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-14T04:58:08+00:00Added an answer on May 14, 2026 at 4:58 am

    To see what all $_SERVER contains, just do:

    echo "<pre>";
    print_r($_SERVER);
    echo "</pre>";
    

    The pre tag just makes the output presentable in the browser.

    To see ALL of the environmental variables that the server is setting (and tons more), make a script that just has:

    <?php
    
    phpinfo();
    
    ?>
    

    It will be listed toward the bottom, as PHP Variables.

    The differences in environment variables can be based on the HTTP server (apache vs IIS) and other factors, such as if the page is served over SSL.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Actually, this question seems to have two parts: How to implement pattern matching? How
Today i was going through an website and found something over this iphone and
actually the question is as simple as the topic says. Is there any way
Following on this question I am actually in the phase of finding the right
I have searched through google and SO for possible answers to this question, but
I'm going through Java For Everyone by Cay Horstmann. I'm a bit confused on
Basically, I'm curious on how to get hold of new BigDecimal(Double.toString(d)) without going through
Alright, I am going to state up front that this question may be too
I think this is a beginner question, it is regarding the variable references across
I'm going to use PHP in my example, but my question applies to any

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.