php中的 file_get_contents('php://input')用法:
file_get_contents 獲取php頁面中input內容的值;
eg:
php: 頁面提交了username password (123)
那么接收之后:username=123&password=123
與POST的區別:post是數組鍵值對的方式。
php中的 file_get_contents('php://input')用法:
file_get_contents 獲取php頁面中input內容的值;
eg:
php: 頁面提交了username password (123)
那么接收之后:username=123&password=123
與POST的區別:post是數組鍵值對的方式。
本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。