logo

CuriousTab

CuriousTab

Discussion


Home Interview Technology Comments

  • Question
  • What is the use of $_Server and $_Env?


  • Correct Answer
  • $_SERVER and $_ENV arrays contain different information The information depends on the server and operating system being used Most of the information can be seen of an array for a particular server and operating system The syntax is as follows: foreach($_SERVER as $key =>$value) { echo ?Key=$key, Value=$value\n?; } 


  • Technology problems


    Search Results


    • 1. What is the use of super-global arrays in PHP?
    • Discuss
    • 2. How can we increase the execution time of a php script?
    • Discuss
    • 3. What is the difference between PHP and JavaScript?
    • Discuss
    • 4. Why many companies are switching their current business language to PHP? Where PHP basically used?
    • Discuss
    • 5. What is MIME?
    • Discuss
    • 6. What is the difference between $argv and $argc? Give example?
    • Discuss
    • 7. Explain how to work with Permissions in PHP.
    • Discuss
    • 8. Explain Superglobal variables in PHP .
    • Discuss
    • 9. Explain how to send large amounts of emails with php.
    • Discuss
    • 10. Explain how to store the uploaded file to the final location.
    • Discuss


    Comments

    There are no comments.

Enter a new Comment