Ajax请求跨域问题

header('Access-Control-Allow-Origin:*');

header('Access-Control-Allow-Headers:Origin,X-Requested-With,Content-Type,Accept');

爬虫框架

https://github.com/owner888/phpspider

https://doc.phpspider.org

你可能感兴趣的:(Ajax请求跨域问题)