ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
* FormData传输 * 可用于上传文件 * 需要启用fileinfo扩展 ~~~ $other = []; $obj = []; $obj['char'] = 1; $obj['upfile'] = ['上传文件本地地址']; $other['formdata'] = $obj; $com = $U_P->com('http://192.168.2.68/test.php',$other); ~~~ > $_POST['char'] > $_FILES['upfile']