2015年4月10日
摘要: function checkpic($url){ $curl = curl_init($url);//设置url curl_setopt($curl, CURLOPT_REFERER, 'http://'.$_SERVER['SERVER_NAME'].$_SERVER[... 阅读全文
posted @ 2015-04-10 13:40 一条大鱼 阅读(474) 评论(0) 推荐(0) 编辑
摘要: getimg.php$Dw){ $Par=$Dw/$width; $width=$Dw; $height=$height*$Par; IF($height>$Dh){ ... 阅读全文
posted @ 2015-04-10 12:14 一条大鱼 阅读(3115) 评论(0) 推荐(0) 编辑
  2015年3月26日
摘要: //G_tk计算function getGTK($skey){ $hash = 5381; for($i=0;$i<strlen($skey);++$i){ $hash += ($hash << 5) + utf8_unicode($skey[$i]); } return ... 阅读全文
posted @ 2015-03-26 19:50 一条大鱼 阅读(228) 评论(0) 推荐(0) 编辑
摘要: http://blog.csdn.net/democreen/article/details/6125623Eclipse开发JQuery环境设置(Spket)文章提到过JQuery提示插件,但是经过多次的试验不尽人意,主要是其提示效果不理想,而且配置成功的概率非常的小。经过同事的推荐使用aptan... 阅读全文
posted @ 2015-03-26 19:29 一条大鱼 阅读(258) 评论(0) 推荐(0) 编辑
摘要: $api_url="http://open.music.qq.com/fcgi-bin/fcg_weixin_music_search.fcg?perpage=30&curpage=1&w=$name&jsonCallback=searchCallback&callback=searchCallba... 阅读全文
posted @ 2015-03-26 10:13 一条大鱼 阅读(424) 评论(0) 推荐(0) 编辑
  2015年3月19日
摘要: //https请求(支持GET和POST) function https_request($url, $data = null) { $curl = curl_init(); curl_setopt($curl, CURLOPT_URL, $url); curl_setop... 阅读全文
posted @ 2015-03-19 11:04 一条大鱼 阅读(395) 评论(0) 推荐(0) 编辑
  2015年3月6日
摘要: http://www.eclipse.org/babel/downloads.phphttp://download.eclipse.org/technology/babel/update-site/R0.12.1/luna 阅读全文
posted @ 2015-03-06 10:26 一条大鱼 阅读(96) 评论(0) 推荐(0) 编辑
  2015年3月5日
摘要: $emailArr = explode("@",$email); if($emailArr[0]){ if($emailArr[0]>3){ $leng=3; }else{ ... 阅读全文
posted @ 2015-03-05 10:37 一条大鱼 阅读(168) 评论(0) 推荐(0) 编辑
  2015年3月2日
摘要: function parseHost($httpurl) { $httpurl = strtolower( trim($httpurl) ); if(empty($httpurl)) return ; $regx1 = '/https?:\/\/(([^\/\?#]+\.)?... 阅读全文
posted @ 2015-03-02 11:52 一条大鱼 阅读(318) 评论(0) 推荐(0) 编辑
摘要: 请用微信扫一扫二维码打开"; echo ""; exit();}else{ if($_GET['openid']){ $_SESSION['openid']=$_GET['openid']; unset($_GET['openid']); ... 阅读全文
posted @ 2015-03-02 10:34 一条大鱼 阅读(265) 评论(0) 推荐(0) 编辑