hey i am newbie in php. and when i am studying some projects then i have seen a HTTP_ROOT in php code.. what does it mean...
variables like your $HTTP_ROOT are used in php code to make it easier to move the program from one machine to another. many programmers build sites on their home machines. to access a web server running on your own machine, you go to localhost, or 127.0.0.1. so then all of the links you make need to begin with 127.0.0.1 to work on your machine. later, when you put the site up, you have to change all the links back to your dot com name. using a variable like you describe, you can just change that one variable, and presto...everything is changed.