I don’t know where I’ll see php.ini file in my file manager.
PHP.ini is not available for you to edit on free hosting. If you need to, please upgrade to premium.
Also, may I ask what do you need to edit in php.ini?
shit, okay. I needed to edit browscap.ini option there, so my get_browser() function can work proproperly.
Please watch your language.
Also, you can just use the
$_SERVER["HTTP_USER_AGENT"] and parse it. There are libraries that can help you with this.
Another solution (more accurate) is collect browser info client side with JS and use AJAX to post it back to the server.
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.