Keep It Simple, Stupid.

荒野无灯weblog

通过.htaccess 文件配置默认索引文件

#设置indext.html的优先级最高,其次是index.htm ,index.php ,index.php3 <IfModule dir_module> DirectoryIndex index.html index.htm index.php index.php3 </IfModule>

Creating a Secure PHP Login Script

http://www.devshed.com/c/a/PHP/Creating-a-Secure-PHP-Login-Script/ In this article Martin explains how to create a secure PHP login script that will a...

Clever forms with PHP

http://evolt.org/clever_php_forms The form problem Forms have always been a nuisance in Web Development. They need HTML and backend code, render dif...

These Things I Know, PHP Tips

http://evolt.org/these-things-i-know-php-tips There is more than one way to achieve the same result when programming in PHP. There are many shortcuts...

Securing Forms - Random Image

http://evolt.org/securing_forms_random_image There are several different applications for securing your forms: When you… Don’t want someone doublepo...

Make your PHP code portable

http://evolt.org/code?from=1 http://evolt.org/node/28117 There’s a lot of PHP code available for free on the net but also not all of it can run on yo...

Imagevue V2

Imagevue 简介: 转自: http://blog.sina.com.cn/s/blog_3e517c120100bc6u.html#cmt_857460 Imagevue是一款著名的Flash相册 官方站点:www.imagevuex.com Google PageRank:6/10 Ale...

URL重写的实现方法(简单版)

  http://www.fleaphp.org/bbs/viewthread.php?tid=4746 要实现这一点必须用Apache服务器。 1、将app/public设置为网站根目录 这一步需要修改apache的配置文件。不做的话似乎不行,原因尚不明,所以叫做简单版。 2、编辑apache配...

Wordpress数据库说明及wpdb类

  以下内容为网络整理资料非原创  下面是wp-2.0.5版的数据库结构图(E-R图)。这里仅列出了主键和外键。图中菱形表示1:n的关系,白色部分为1,黑色部分为n。 WordPress共有10个表,按照功能大致分为四类。 user: 用户信息,包括wp_users表和wp_usermet...

php常见错误

1.Parse error: syntax error, unexpected $end in D:\web\web\xxxxxx.php on line 34 且出错的行竟是在html代码处。 解决方法:开启php.ini 的short_open_tag = On或 把出错页面的<?  全替换为