重庆分公司,新征程启航
为企业提供网站建设、域名注册、服务器等服务
header ("HTTP/1.1 404 Not Found");
header ("HTTP/1.1 301 Moved Permanently");
header ("Location:http://www.baidu.com");
header ('Content-type: application/file');
header ("Content-Disposition: attachment; filename='test.file'");
readfile ("test.file");
header('Access-Control-Allow-Origin:*');
header('Access-Control-Allow-Headers:WWW-Authenticate,Authorization,Set-Cookie,X-Requested-With, Accept, Accept-Version, Content-Length, Content-MD5, Content-Type, Date, X-Api-Version,name');