久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

唯一標識一臺計算機

Uniquely identify one computer(唯一標識一臺計算機)
本文介紹了唯一標識一臺計算機的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

問題描述

我在一所大學工作,我正在實現一個 PHP 網絡應用程序,當從一臺特定的計算機訪問它時,它需要具有不同的行為.我遇到的問題是,從網絡服務器,使用 $_SERVER['REMOTE_ADDR']gethostbyaddr(),我只能識別計算機正在運行的路由器通過,而不是特定的計算機名稱.

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 into is that from the webserver, using $_SERVER['REMOTE_ADDR'] and gethostbyaddr(), i can only identify the router that a computer is going through, and not a specific computername.

無論如何我可以設置那臺特定的計算機來向服務器標識自己的身份,以便服務器知道何時從該機器訪問 webapp?計算機在 kiosk 模式下運行 firefox,因此允許使用插件或油脂猴腳本...

Is there anyway i can set that one specific computer to identify itself to the server so the server knows when the webapp is being accessed from that machine? The computer is running firefox in kiosk mode, so addons or greasemonkey scripts are allowed...

推薦答案

您可以設置 cookie.這將被客戶端記住并作為每個請求的一部分傳輸到服務器.更多信息請訪問:http://www.w3schools.com/PHP/php_cookies.asp

You can set a cookie. This will be remembered by the client and transmitted to the server as part of every request. More information here: http://www.w3schools.com/PHP/php_cookies.asp

這篇關于唯一標識一臺計算機的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

【網站聲明】本站部分內容來源于互聯網,旨在幫助大家更快的解決問題,如果有圖片或者內容侵犯了您的權益,請聯系我們刪除處理,感謝您的支持!

相關文檔推薦

Joining 2 tables in SELECT(MYSQL/PHP)(在 SELECT(MYSQL/PHP) 中加入 2 個表)
How to make lt;option selected=quot;selectedquot;gt; set by MySQL and PHP?(如何使lt;option selected=“selectedgt;由 MySQL 和 PHP 設置?)
Auto populate a select box using an array in PHP(使用 PHP 中的數組自動填充選擇框)
PHP SQL SELECT where like search item with multiple words(PHP SQL SELECT where like search item with multiple words)
json_encode produce JSON_ERROR_UTF8 from MSSQL-SELECT(json_encode 從 MSSQL-SELECT 產生 JSON_ERROR_UTF8)
MySQL ORDER BY rand(), name ASC(MySQL ORDER BY rand(),名稱 ASC)
主站蜘蛛池模板: 中文字幕av第一页 | 欧美日韩亚洲国产综合 | 久久久久久综合 | www.狠狠干 | 色综合成人网 | 免费黄色a级毛片 | 久久99精品久久久久久国产越南 | 日韩欧美在线观看一区 | 久久电影一区 | 国产二区三区 | 91在线一区 | 在线国产视频观看 | 美女视频一区二区三区 | 中文字幕免费视频 | 国产精品国产三级国产aⅴ中文 | 久久国产综合 | 亚洲精品中文字幕 | 欧美在线一区二区三区 | 欧美高清性xxxxhdvideosex | 中文字幕国产视频 | 欧美一级片a | 亚洲成av人影片在线观看 | av大片| 91 中文字幕 | 日韩不卡一区二区 | 欧美1区| 欧美黑人体内she精在线观看 | 亚洲一区亚洲二区 | 欧美精品一区二区三区四区五区 | 美女天堂在线 | 国产丝袜一区二区三区免费视频 | 一区二区三区在线免费观看 | 日本视频一区二区三区 | 玖玖操 | 日本欧美视频 | 黄色毛片免费视频 | 特级毛片 | 国内精品一区二区三区 | 欧美日韩国产三级 | 国产aaaaav久久久一区二区 | 日干夜干 |