gpt4 book ai didi

php - 发送原始发布数据

转载 作者:搜寻专家 更新时间:2023-10-31 22:14:46 27 4
gpt4 key购买 nike

我将如何发送原始发布数据并在接收 .php 中使用 file_get_contents('php://input')... 我将如何设置表单来执行此操作?

所以基本上 file_get_contents 从 php 输入中将文件作为字符串读入?

最佳答案

在表单的 Action 中将页面设置为wibble.php 然后在wibble.php 中写入

<?PHP
file_get_contents('php://input');
?>

关于php - 发送原始发布数据,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7880113/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com