DISCUZ 论坛管理员密码忘记的解决方法

yipeiwu_com6年前
DISCUZ论坛管理员密码忘记了怎么办? 今天,一个朋友在QQ上问我,“如果DISCUZ论坛管理员密码忘记了 从MYSQL 哪里找啊?”, 他用的是HostMonster的虚拟主机。 y...

PHP 采集心得技巧

yipeiwu_com6年前
1.获取远程文件源代码(file_get_contents或用fopen). 2.分析代码得到自己想要的内容(这里用正规匹配,一般是得到分页)。 3.跟根得到的内容进行下载入库等操作。...

抓取YAHOO股票报价的类

yipeiwu_com6年前
复制代码 代码如下:<? function getYahooQuote($stockSymbol = "CCR") { if (!$targetURL) $targetURL =...

PHP 模拟登陆MSN并获得用户信息

yipeiwu_com6年前
复制代码 代码如下:<?php /* * PHP100中文网,整体提供,测试通过 */ $msn = new myMSN(php100@php100.com, "123"); //...

PHP日期时间函数的高级应用技巧

yipeiwu_com6年前
checkdate($month,$date,$year)如果应用的值构成一个有效日期,则该函数返回为真。例如,对于错误日期2005年2月31日,此函数返回为假。在日期用于计算或保存在数...

php 无限级 SelectTree 类

yipeiwu_com6年前
复制代码 代码如下:/* author: nick date: 2009.05.17 功能:生成SeletTree 属性: $result 结果集 $id_field 自身id字段 $p...

简单的php 验证图片生成函数

yipeiwu_com6年前
复制代码 代码如下:<?php function yzm($name,$width,$height){ Header("Content-type: image/PNG"); sra...

php 方便水印和缩略图的图形类

yipeiwu_com6年前
复制代码 代码如下:<?php /* *@author    夜无眠    27262681@qq....

php print EOF实现方法

yipeiwu_com6年前
我写段php代码如下: 复制代码 代码如下:<? if(test case) print<<<EOT <....html code....> EOF;...

php session 错误

yipeiwu_com6年前
1. 错误提示 Warning: Cannot send session cookie - headers already sent Warning: Cannot send sessi...