久久久久久久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)
主站蜘蛛池模板: 91精品国产一区二区三区蜜臀 | 在线观看日本高清二区 | 影音先锋中文在线 | 欧美大片一区二区 | 国产欧美在线一区二区 | 成人精品一区二区 | 美女天堂在线 | 精品国产乱码久久久久久中文 | 久久99精品久久久久久 | 99精品99久久久久久宅男 | jav成人av免费播放 | 午夜在线精品偷拍 | 91精品久久久久久久久久 | 另类一区 | 国产成人精品久久二区二区91 | 91精品久久久 | 国产999精品久久久影片官网 | 国产高清一区二区三区 | 欧美一二三四成人免费视频 | 日日天天| 91精品一区二区三区久久久久 | 欧美一区二区三区视频在线观看 | 一级片子 | 一区二区高清 | 欧美综合久久 | 日本在线看 | 亚洲国产情侣自拍 | 亚洲免费视频网站 | 国产传媒视频在线观看 | 在线看片网站 | 国产天天操 | 久久成人国产精品 | 国产精品久久久久久久久久久久冷 | 中文字幕 亚洲一区 | 成人免费视频播放 | 国产精品国产精品国产专区不片 | 成人黄色三级毛片 | 国产成人福利在线观看 | 欧美一级欧美三级在线观看 | 欧美一级片在线播放 | 国产精品成人一区二区三区 |