When I go to some software sites I am taken directly to the page for Macintosh software, while my friend visiting the same page is taken to the Windows software. How did the website know that I'm on a Mac? Well one simple way that a PHP site can gather this information is by using ['HTTP_USER_AGENT']. Once it has this information, it can sort users accordingly.
Comments
No comments yet. Leave a Comment
