I am extremely new to PHP and I am attempting to follow tutorials using the Larry Ullman book (PHP and MySQL for Dynamic Web Sites).
I have only just started these tutorials and I have already got a snag
I need to be able to use $HTTP_USER_AGENT and $REMOTE_ADDR variables but they are not working on my computer. The book suggests changing the configuration of XAMPP to switch on Register Globals. I have searched around the net and found this can be done using the PHP.INI file under XAMPP\Apache\bin\.
However, it has come to my attention that I do not have this file (unless I am very blind!).
I installed this only his morning but I am using Vista so that could be causing the issue. I followed the guidelines of not installing it under ProgramFiles so it is under C:\XAMPP.
If there is another way of being able to use these variables can anyone let me know? Again, I am a complete novice so please reply in layman's terms