下午写了一个测试 手头没有公司的代码 就自己写了一个, 感觉就是能用 没有发现优点
先放到这里以后改改
class Mysql{
关于 php 里 myqsl 库 函数
在进行 mysql_connect()的时候 如果 host username password 相同 连接 默认为 统一个引用 除非 指定 mysql_connect的 第四个参数 bool new_link
好简单的代码 我怎么没想出来呢
$ip = “9.1.1.1″;
$ip=preg_replace(‘/(\d+)/e’,'sprintf(“%03d”,”$1″)’,$ip);
]]>
C:\>curl -d “action=validate&mail=shuishui%40quan.com&password=123456″ -b “cook
ie” -c “cookie” “http://passport.*.com/passport.php?action=signin“
curl -F “action=upload” -F “filename=@crawl.php” http://mysql.jy/post.php
C:\>curl -b “c:/cookie” -F “title=titatia” -F “filename=@c:/1.mp3” “http://upl
oad.****.com/music.php”
class Crawl{
/**
* @autho jiayin
* @desc 简单爬虫游戏
* @param $store 为了方便 爬取以后 集中存储
* @method static public store() 边处理边存储
**/
public static $flag = true;
public static $store;
public static $keys = array();
public static function getLink($content){
class Crawl{
/**
* @autho jiayin
* @desc 简单爬虫游戏
* @param $store 为了方便 爬取以后 集中存储
* @method static public store() 边处理边存储
**/
public static $flag = true;
public static $store;
public static function getLink($content){
http://v.*****com/player/getPlayList/VideoIDS/3865677/version/5/source/index
放到flash里面 好难找啊 今天累了, 找不到 只把这点算法和缩略图 找出来了
$d = “63*46*63*63*63*30*63*30*63*63*42*47*47*39*53*38*42*42*27*10*29*33*63*63*63*18*30*63*30*30*10*33*63*30*46*16*33*43*45*42*29*16*34*45*16*38*33*47*45*27*30*38*53*45*46*42*34*53*30*16*39*34*46*53*53*27*”;
$cg_str = “”;
$seed =”8026″;
function cg_fun($b){
global $cg_str;
Powered by 00RZ