久久久久久久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)
主站蜘蛛池模板: 精品一二区 | 亚洲欧美日韩精品久久亚洲区 | 99这里只有精品 | 2019天天干夜夜操 | 国产在线观看一区二区 | 国产精品久久久久久吹潮 | 成人在线视频免费观看 | 精国产品一区二区三区 | 精品视频免费 | 亚洲国产精品一区二区第一页 | 黄色一级电影免费观看 | 99亚洲精品 | 天天综合网永久 | 亚洲二区精品 | 欧美午夜精品久久久久免费视 | 欧美一级免费片 | 久久久久久黄 | 国产伦精品一区二区三区精品视频 | 男女羞羞视频免费 | 国产三级精品三级在线观看四季网 | 亚洲综合成人网 | 日韩成人一区二区 | 国产日韩欧美 | 国产免费一区二区三区 | 亚洲精品电影网在线观看 | 亚洲精品久久久一区二区三区 | 日韩高清国产一区在线 | 羞羞色影院 | 精品在线一区 | 午夜在线视频 | 日韩精品在线播放 | 亚洲欧美中文日韩在线v日本 | 亚洲女人天堂成人av在线 | 日韩在线欧美 | 男人午夜视频 | 亚洲协和影视 | 国产激情在线观看 | 男女午夜激情视频 | 成人精品国产免费网站 | 天天av网| 九九久久免费视频 |