Posted By

coggla on 01/20/08


Tagged


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

arcturus


Environment Variables


 / Published in: PHP
 

  1. $_SERVER["SCRIPT_FILENAME"] // server path to file
  2. $_SERVER["SCRIPT_NAME"] // path to file from web root
  3. $_SERVER["REMOTE_ADDR"] // user's IP address
  4. $_SERVER["QUERY_STRING"] // query string in URL
  5. $_SERVER["DOCUMENT_ROOT"] // server path to web root
  6. $_SERVER["HTTP_HOST"]; // server host name (domain)

Report this snippet  

You need to login to post a comment.