get_browser not working

前端 未结 4 791
野性不改
野性不改 2020-12-11 04:14

it\'s not working.i mean i have many scripts to get ip and os but anyway get_browser is internal function and should work but its not.when i try to get a print_r on the func

4条回答
  •  萌比男神i
    2020-12-11 05:06

    Make sure you have an up-to-date browscap file. Read the notes in the documentation of get_browser.

    If you're not a server administrator, check out phpbrowcap which implements the same functionality but makes it possible for you to use another broswcap file than the server-wide one.

提交回复
热议问题