complex05 Posted March 29, 2006 Share Posted March 29, 2006 Hello, I'm building an advertising script and I need my script to find some information about the users viewing the ads.I need the following information:BrowserOperating SystemScreen ResolutionCountryI tried googling this and found nothing. Anyone have any ideas? Quote Link to comment Share on other sites More sharing options...
ober Posted March 29, 2006 Share Posted March 29, 2006 You'll have to use something else to get that info. PHP is a SERVER SIDE scripting language and doesn't have access to those parameters. You MIGHT be able to grab the country via headers or IP translation, but PHP alone cannot get you all that information. Quote Link to comment Share on other sites More sharing options...
complex05 Posted March 29, 2006 Author Share Posted March 29, 2006 Do you know any tools I can use that will find that information for me? My server's statistics is able to find that information, we use cpanel, is there some way to use the same functions or something? Quote Link to comment Share on other sites More sharing options...
Eddyon Posted March 29, 2006 Share Posted March 29, 2006 [a href=\"http://www.phpfreaks.com/phpref/120.php\" target=\"_blank\"]Browser[/a] - Tells what the user's browser is capable of, thats about it. Quote Link to comment Share on other sites More sharing options...
AshAsirus Posted March 29, 2006 Share Posted March 29, 2006 can be done mostly with JSbrowser name: navigator.appNamebrowser version: navigator.appVersionresolution: screen.width & screen.heightos: navigator.userAgentyou can google them to figure out how to use them Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.