摘要: //laravel public function index(){ $urlToEncode="http://www.baidu.com"; $this -> generateQRfromGoogle($urlToEncode); //return view('welcame'); } public function gene... 阅读全文
posted @ 2017-11-20 18:21 wjd0215 阅读(787) 评论(0) 推荐(0) 编辑
摘要: 首先,在function.php方法文件中封装一个获取header头文件的方法。 if (!function_exists('getallheaders')) { function getallheaders() { $headers = array(); foreach ($_SERVER as 阅读全文
posted @ 2017-11-20 14:59 wjd0215 阅读(212) 评论(0) 推荐(0) 编辑