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 allow safe authentication. Features remember-me function using cookies, validates logins on each reques...
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 differently on each browser and stubbornly refuse to use styles consistently on browsers. Furthermore their...
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 I wish someone had explained to me when I began learning the language. (One would assume that is what ...
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 doubleposting Want to protect your pages from computerized registrations (spam) want to protect some...
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 your system as it is. This article shows you how to distribute a setup required by your program to ...
Imagevue V2
Imagevue 简介: 转自: http://blog.sina.com.cn/s/blog_3e517c120100bc6u.html#cmt_857460 Imagevue是一款著名的Flash相册 官方站点:www.imagevuex.com Google PageRank:6/10 Alexa TrafficRank:78,232 Imagevue其官方站点的标题是Flash web image gallery photo album and slideshow software,即网络F...
URL重写的实现方法(简单版)
http://www.fleaphp.org/bbs/viewthread.php?tid=4746 要实现这一点必须用Apache服务器。 1、将app/public设置为网站根目录 这一步需要修改apache的配置文件。不做的话似乎不行,原因尚不明,所以叫做简单版。 2、编辑apache配置文件,允许用.htaccess中的设置覆盖默认配置,同时取消rewrite模块的注释。然后重启Apache。 <Directory /> Options ...
php常见错误
1.Parse error: syntax error, unexpected $end in D:\web\web\xxxxxx.php on line 34 且出错的行竟是在html代码处。 解决方法:开启php.ini 的short_open_tag = On或 把出错页面的<? 全替换为 <?php
...A Program to Create (Relatively) Secure Sessions
Type: code fragment Added by: mattr Entered: 31/07/2000 Last modified: 02/12/2004 Rating: (21 votes) Views: 26655 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768<?PHP &n...
一个浏览器检查类
<?php //原作者:epsilon7 //SonyMusic(sonymusic@163.net) class BrowserDetector { var $UA = ””; //$HTTP_USER_AGENT的内容 var $BROWSER= ”Unknown”; //浏览器类型 var $PLATFORM = ”Unknown”; //操作系统 var $VERSION= ””; //浏览器版本号 var $MAJORVER = ””; ...




近期评论