ultrasound0000 Posted September 17, 2009 Share Posted September 17, 2009 I think the subject pretty much defines what I'm trying to accomplish. I need to determine the users OS and if the OS is Windows, determine if its a 32 bit or 64 bit machine. Than display this info to user. how can i parse this info out of http_user_agent (code below)? is this the best approach? thanks! <?php echo $_SERVER['HTTP_USER_AGENT']; ?> Quote Link to comment https://forums.phpfreaks.com/topic/174602-user-agent-determine-user-os-if-windows-determine-if-32-bit-or-64-bit/ Share on other sites More sharing options...
Daniel0 Posted September 17, 2009 Share Posted September 17, 2009 I can set my user agent to whatever I want, so you cannot use the user agent for that. Quote Link to comment https://forums.phpfreaks.com/topic/174602-user-agent-determine-user-os-if-windows-determine-if-32-bit-or-64-bit/#findComment-920172 Share on other sites More sharing options...
ultrasound0000 Posted September 17, 2009 Author Share Posted September 17, 2009 anyone know alternatives to accomplishing this then? Quote Link to comment https://forums.phpfreaks.com/topic/174602-user-agent-determine-user-os-if-windows-determine-if-32-bit-or-64-bit/#findComment-920179 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.