PHP 常用

1, 跳转 header("Location: abc.php");exit; 2.文件下载 $filepath = (you file path); //$_SERVER['DOCUMENT_ROOT'] header('Content-Description: File Transfer'); header('Content-Type: application/octet-stream'); header('Content-Disposition: attachment; filename='.basename($filepath)); header('Content-Transfer-Encoding: binary'); header('Expires: 0'); header('Cache-Control: must-revalidate, post-check=0, pre-check=0'); header('Pragma: public'); header('Content-Length: '.filesize($filepath)); readfile($filepath); Read more

php soap 问题

今天遇到个很奇葩的问题!。一个ERP系统和商城系统数据 做对接。之前还是好好的。突然不能 数据互通了。捕获错误是 SOAP-ERROR: Parsing WSDL: Couldn't load fro Read more