推荐几个 NirSoft 出品的绿色软件。
Jun 26th, 2006 by song

NirSoft 出品的软件个个短小精悍,特点是所有软件都是绿色软件,不需要安装;功能虽单一,却非常强悍。

MyUninstaller v1.31

MyUninstaller is an alternative utility to the standard Add/Remove applet of Windows operating system. It displays the list of all installed application, and allows you to uninstall an application, delete an uninstall entry, and save the list of all installed applications into a text file or HTML file.
MyUninstaller also provides additional information for most installed applications that the standard Add/Remove applet doesn’t display: product name, company, version, uninstall string, installation folder and more. Read the rest of this entry »

一只蜘蛛
Jun 22nd, 2006 by song

[code]<?php
error_reporting(E_ALL);
ini_set('display_errors',true);
/*
Class to handle spidering, scraping, etc
How to use it:
- simplest way is to spiderStart then repeatedly call spiderNextPage and carry out whatever tasks you'd like on retrieved pages
Capabilities:
Spider from a start page matching links according to regexps (regexps can vary according to crawl depth)
Retrieve a page as a string
Extract Links from a page (optionally according to regexps)
CLASS: spiderScraper Read the rest of this entry »

清除系统垃圾
Jun 21st, 2006 by song

[code]@echo off
del/f/s/q %systemdrive%\*.tmp
del/f/s/q %systemdrive%\*_tmp
del/f/s/q %systemdrive%\*.log
del/f/s/q %systemdrive%\*.gid
del/f/s/q %systemdrive%\*.chk
del/f/s/q %systemdrive%\*.old
del/f/s/q %windir%\*.bak
del/f/q %systemdrive%\recycled\*.*
del/f/q %windir%\prefetch\*.*
rd /s/q %windir%\temp & md % windir%\temp
rd /s/q %temp% & md %temp%
del/f/q %userprofile%cookies\*.*
del/f/q %uesrprofile%recent\*.*
rd /s/q "%userprofile%\Local Settings\Temporary Internet Files"[/code]

1个匹配EMAIL的正则
Jun 20th, 2006 by song

/**
* Grab an e-mail address out of a string
*
* @param    int $level The log level. See sys_log() of the PHP docs
* @param    string $message The log message
* @access public
* @return void
*/
function get_email_from_string($email)
{
 if (preg_match(“/(b)([w.-]+)(@)([w.-]+)([A-Za-z]{2,4})b/i”, $email, $matches))
 {
   return $matches[0];
 } else
 {
   return false;
 }
}
?>

另一个FLASH 破解工具 Imperator FLA
Jun 20th, 2006 by song

[file]attachment/1150797821.rar[/file]

一个URL的正则
Jun 20th, 2006 by song

[code]$html = "
<h1>Articles</h1>
<a class='cla1' target=_blank href='http://www.bac.com/database1/index.html' style='color:red'>数据库1</a>
<a class='cla1' target=_blank href='http://www.bac.com/database2/index.html' style='color:red'>数据库2</a>
";

preg_match_all("{<a[^>]+href\s*=\s*'(.+?)'[^>]*>(.+?)</a>}i", $html, $matches); [/code]

一个URL的正则 收藏自cid73

zend Debug Server
Jun 19th, 2006 by song

httpd.conf
[code]
<IfModule mod_mime.c>
  AddType application/x-httpd-php .php
  AddType application/x-httpd-php-source .phps
</IfModule>

<Directory "D:\wwwroot/ZendStudioServer">
  Options Indexes
  DirectoryIndex index.html index.php
</Directory>[/code]

[code]
[Zend]
zend_extension_manager.optimizer_ts="D:\soft\Zend\ZendStudioServer-5.1.0\lib\Optimizer-2.6.1"
zend_extension_ts="D:\soft\Zend\ZendStudioServer-5.1.0\lib\ZendExtensionManager.dll"
zend_optimizer.optimization_level=15
zend_extension_manager.debug_server_ts="D:\soft\Zend\ZendStudioServer-5.1.0\lib\Debugger-5.1.0"
studio.install_dir="D:\soft\Zend\ZendStudioServer-5.1.0"
zend_debugger.expose_remotely=allowed_hosts
zend_gui.ini_modifier="D:\soft\Zend\ZendStudioServer-5.1.0\sbin\ini_modifier.exe"
zend_debugger.deny_hosts=
zend_gui_password=1e63bbb9760f7e977e7f3041f960ef06
zend_debugger.allow_hosts=127.0.0.1/32
zend_ini_file="D:\soft\Zend\ZendStudioServer-5.1.0\etc\zend.ini"

[/code]
wwwfile

[file]attachment/1150720481.rar[/file]

理解PHP中的MVC
Jun 19th, 2006 by song

理解PHP中的MVC

作者:Joe Stump
原文:点击查看
译者:!oEL

前言
在这一系列的文章中,我将展示大家如何使用PHP5来建立一个MVC网络框架。首先这第一篇文章将概括介绍MVC网络框架的基础,然后在接下来的三篇文章中将概括另外两个部分(View和Controller)以及实例应用(MVC中的Module或Model)。

PHP5的诞生为PHPer们提供了一个良好的面向对象编程的环境。现在PHPer们可以真正地说他们能够建立纯粹的API和更加复杂的MVC了。即便这些在PHP4时代都可以做到,但是PHP5的新特性让一切变得更加简单(SOAP,WSDL等的实现都容易多了)。

在读这篇文章前,我假定你已经有一个确切的面向对象编程的概念并且知道PHP5在这方面的新特性。

What Is MVC? Read the rest of this entry »

运行时改变图片脚本相对路径的smarty插件
Jun 19th, 2006 by song

运行时改变图片脚本相对路径的smarty插件
web程序应用模板技术已经不是什么新鲜事了,但像smarty 这样的模板引擎在静态页面设计的时候还有php文件调用静态模板编译出可以执行的程序的时候,img src;link rel;script;这些标签的里面的引用的外部路径就会发生变化了。以前我用保持img js css等目录的两个copy来解决问题,但同步两个目录确实比较麻烦,后来见到有人说用smarty的prefilter是可以的。于是到csdn求了个正则式 ,改成了一个smarty的plugin,用起来还不错。
Read the rest of this entry »

WebShot
Jun 17th, 2006 by song

WebShot
Full Website Screenshot Capturing Utility
Webshot is a command line utility I developed that allows you to take screenshots or thumbnails of websites. It is written in mostly C with the COM part in C++.

[url=http://www.slashdot.org/]Slashdot[/url]

[url=http://www.club977.com/]Club977[/url]
Read the rest of this entry »

SIDEBAR
»
S
I
D
E
B
A
R
«
»  Substance:WordPress   »