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']; ?> 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. 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? 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
Archived
This topic is now archived and is closed to further replies.