久久久久久久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)
主站蜘蛛池模板: 美女免费网站 | 国产三级久久 | 一级做a视频 | 精品久久国产 | 亚洲裸体视频 | 亚洲乱码国产乱码精品精软件 | 欧美亚洲| 一区| 日韩中文字幕在线视频 | 午夜视频一区 | 亚洲一区成人 | 黄色免费观看网站 | 草草视频在线 | 一区在线播放 | av一区二区三区在线观看 | 一级片免费 | 欧美性猛交一区二区三区精品 | 婷婷视频网 | a天堂在线视频 | 精品在线看 | 毛片毛片毛片 | 日韩午夜片 | 天天躁日日躁狠狠躁伊人 | 精品国产一二三区 | 91性高潮久久久久久久久 | a视频在线观看 | 国产一区二区三区四区 | 久久久免费观看 | 日韩在线不卡视频 | 欧美一级艳片视频免费观看 | 成人免费视频网站在线观看 | 98国产精品| 国产天堂在线观看 | www亚洲精品| 成人国产精品久久久网站 | 欧洲精品一区二区三区 | 可以看的毛片 | 精品亚洲一区二区 | 婷婷中文字幕 | 精品免费国产一区二区三区四区 | 日本久久久久久久久 |