09 2018 档案

摘要:header("Access-Control-Allow-Origin: http://a.com"); // 允许a.com发起的跨域请求 //如果需要设置允许所有域名发起的跨域请求,可以使用通配符 * header("Access-Control-Allow-Origin: *"); // 允许任意域名发起的跨域请求 阅读全文
posted @ 2018-09-10 15:32 枫夜雪 阅读(7572) 评论(0) 推荐(0) 编辑
摘要:1.php判断系统函数或自己写的函数是否存在 bool function_exists ( string $function_name ) 判断函数是否已经定义,例如: 2.php判断类是否存在 bool class_exists ( string $class_name [, bool $auto 阅读全文
posted @ 2018-09-07 15:23 枫夜雪 阅读(35045) 评论(0) 推荐(1) 编辑
摘要:实现的效果是xxx.com访问时跳转到www.xxx.com 阅读全文
posted @ 2018-09-04 20:29 枫夜雪 阅读(1108) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示