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?
6 Likes
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.
7 Likes
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.