查询
- $k=trim($_GET['k']); $u=trim($_GET['u']); $arrKeywords=explode(",",$k); for($ii=0;$ii<count($arrKeywords);$ii++){ $outputstr=''; for($i=0;$i<10;$i++......2016-11-25 15:58
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1...2016-11-25 15:58
- <!-- 这是一款免费的手机号码归属地查询程序是php教程写的,包括查询实例与实例代码--> <html> <head> <title>手机号码归属地查询</title> </head> <body> <form......2016-11-25 15:58
- include_once('./qqwry.php教程'); $QQWry=new QQWry; function get_real_ip(){ $ip=false; if(!empty($_SERVER["HTTP_CLIENT_IP"])){ $ip = $_SERVER["HTTP_CL...2016-11-25 15:58
- $fp = fsockopen("www.google.cn", 80, $errno, $errstr, 30); if(!$fp){ echo "$errstr ($errno)<br /> "; }else{ $out = "GET /search?oe=utf8&ie=utf8&sourc......2016-11-25 15:58
- for($i=0;$i<5;$i++){ $pagecode = @file_get_contents("http://www.sogou.com/web?num=1&query=site:".$q); if($pagecode){ break; } } if($pagecod...2016-11-25 15:58
- for($i=0;$i<5;$i++){ $pagecode = @file_get_contents("http://www.soso.com/q?w=site:".$q); if($pagecode){ break; } } //echo $pagecode; if($p...2016-11-25 15:58
- for($i=0;$i<5;$i++){ $pagecode = @file_get_contents("http://sitemap.cn.yahoo.com/search?p=".$q); if($pagecode){ break; } } if($pagecode){...2016-11-25 15:58
- for($i=0;$i<5;$i++){ $pagecode = @file_get_contents("http://www.youdao.com/search?q=site:".$q); if($pagecode){ break; } } //echo $pagecode; ...2016-11-25 15:58
- $q=strtolower(trim($_GET['q'])); $q=matchdomain($q); if($q==''){exit;} function matchdomain($q){ preg_match('/(([a-z0-9]w{0,61}?[a-z0-9]|[a-zA-Z0-9]).)...2016-11-25 15:58
- $sourcecode=getsourcecode("http://www.sogou.com/web?query=".$q); //echo ":".$sourcecode; if($sourcecode){ $sourcecode=iconv('gb2312','utf-8',$sourcecode......2016-11-25 15:58
- $id = PostGet('cid'); if( !intval( $id ) ) { exit('aa'); } else { $Db = new Db(); $sql ="Select address from cn_loupan_city where id='$id'"; ......2016-11-25 15:58
- $id =isset($_GET['id'])?$_GET['id']:''; if(!is_numeric($id) ){ exit("<script>alert('对不起,你所访问的用户不存了!');history.back();</script>"); }else{ ......2016-11-25 15:57
- <head> <meta http-equiv="Content-Type" content="text/html; charset=gb2312" /> <script language="javascript教程"> check111cnNet() { var keyword = m......2016-11-25 15:57
- function getGoogleIndex($url, $type) { $url = getShortUrl($url); $content = getUrlContent("http://www.google.com.hk/search?hl=zh-CN&source=hp&q=$type:$...2016-11-25 15:56
- 对数组的添加(首尾数据添加(不限定条数)以及中间任意位置添加数据操作) . 2~对数组的删除(首尾的数据删除(不限定条数)以及中间任意位置的数据删除操作,条件:对数组中......2016-11-25 15:56
- $time = time(); $days = 86400*30; $sql = "select * from test where $time-updated<$days order by click_num desc limit 10 "; $db ='daydb'; $query = mys...2016-11-25 15:56
- 代码如下 复制代码 $dirs = array(); foreach(glob("test/*") as $d) { if(is_dir($d)) { $dirs[] = $d; } }...2016-11-25 15:55
- 代码如下 复制代码 if(!isset($_get[absolutepage])){ $absolutepage=1;//当前页 } if ($_get[absolutepage]==0){ ...2016-11-25 15:54
SupeSite利用join left联合查询出新闻表中带有图片附件记录
这里在supesite表中一个主表,supe_spaceitems与supe_attachments附件表,我们通过left jon查找 出有图片附件的记录出来。 代码如下 复制代码 ......2016-11-25 15:53