Monkuar Posted August 22, 2012 Share Posted August 22, 2012 http://php.net/manual/en/function.get-browser.php I do not see any arrays here showing the users Architect type, (32 bit or 64bit) how can I achieve this? Quote Link to comment https://forums.phpfreaks.com/topic/267402-browser-type-array-for-os-32-or-64-bit/ Share on other sites More sharing options...
requinix Posted August 22, 2012 Share Posted August 22, 2012 Use something else. Quote Link to comment https://forums.phpfreaks.com/topic/267402-browser-type-array-for-os-32-or-64-bit/#findComment-1371327 Share on other sites More sharing options...
Monkuar Posted August 22, 2012 Author Share Posted August 22, 2012 Use something else. User agent stores it like : "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/53" or something, does that WOW64 show the archetype? If so, I could just do a basic if the string has 32 or 64 in it, and assign variables right? Quote Link to comment https://forums.phpfreaks.com/topic/267402-browser-type-array-for-os-32-or-64-bit/#findComment-1371328 Share on other sites More sharing options...
requinix Posted August 22, 2012 Share Posted August 22, 2012 After finding a browscap.ini and trying it on a machine myself, I found that get_browser() would return "win32" and "win64" bools. Quote Link to comment https://forums.phpfreaks.com/topic/267402-browser-type-array-for-os-32-or-64-bit/#findComment-1371333 Share on other sites More sharing options...
Monkuar Posted August 22, 2012 Author Share Posted August 22, 2012 After finding a browscap.ini and trying it on a machine myself, I found that get_browser() would return "win32" and "win64" bools. Thank you, Quote Link to comment https://forums.phpfreaks.com/topic/267402-browser-type-array-for-os-32-or-64-bit/#findComment-1371335 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.