Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我需要创建 html 页面以将数据发送到包含以下代码的 file.php:file_get_contents("php://input"); 让它显示来自服务器的文件...
这个可以吗??
要从文件中获取输出,您不需要使用 php:// 包装器。您可以在本地(首选)或通过 http:// 获取文件
检查手册http://php.net/file_get_contents