2012年1月19日

摘要: <?php $str1_array=array('一聚教程网','','http://www.111cn.net','','1654',''); $str1_array=array_filter($str1_array); print_r($str1_array); ?>结果Array ( [0] => 一聚教程网 [2] => http://www.111cn.net [4] => 1654 )实例$fangId = PostGet('houseId' 阅读全文
posted @ 2012-01-19 18:56 php开发 阅读(345) 评论(0) 推荐(0) 编辑
 
摘要: <?php /* author: ssh_kobe date: 20110602 shortage: 如果网页中的图片路径不是绝对路径,就无法抓取 */ set_time_limit(0);//抓取不受时间限制$URL='http://www.hzhuti.com/';//任意网址get_pic($URL);function get_pic($pic_url) { //获取图片二进制流 $data=CurlGet($pic_url); /*利用正则表达式得到图片链接*/ $pattern_src = '/<[img|IMG].*?src=['|&qu 阅读全文
posted @ 2012-01-19 18:51 php开发 阅读(1309) 评论(0) 推荐(1) 编辑
 
摘要: using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Text;using System.Net;using System.IO;using System.Xml;namespace GetEmailAddress{ public class Address163 { //邮箱入口定义 const string mail_163_com ="https://reg.163.com/logins.jsp?username={0}&a 阅读全文
posted @ 2012-01-19 14:24 php开发 阅读(443) 评论(0) 推荐(1) 编辑
 
 

一聚教程网