php://input和php://output

對一php://input介紹,PHP官方手冊文檔有一段話對它進行了很明確地概述。  php://input 是個可以訪問請求的原始數據的只讀流。 POST 請求的情況下,最好使用 php://input 來代替 $HTTP_RAW_POST_DATA(原生的post數據),因爲它不依賴於特定的 php.ini 指令,內存消耗更少 「php://input allows you to read r
相關文章
相關標籤/搜索