Uniquely identify one computer

后端 未结 9 906
渐次进展
渐次进展 2020-12-07 02:17

I work for a university, and i\'m implementing a PHP web app that needs to have different behavior when it is visited from one certain computer. The problem i am running in

9条回答
  •  臣服心动
    2020-12-07 02:41

    Change Firefox's user agent header to something that uniquely identifies that machine, you can then extract this string in PHP from $_SERVER['HTTP_USER_AGENT'].

    See How to edit the User Agent string

提交回复
热议问题