摘要:
一直都想写一个类似与检测使用的system。现在估计有机会了。可以好好计划下。今天看了下php类这块的东西。写了段代码。贴一下,以后很好理解!~<?php header("Cache-Control: no-cache, must-revalidate"); flush();?><? class web_select{ protected function website(){ # review } } class web_post extends web_select{ public function ... 阅读全文
摘要:
Today I install the perl module,for php5.but is error.I thing is the php_perl.c not working.I google find the answer. then , I find the answer is download new php_perl.c ,and modify php_perl.h . I try to again . then perl module is working.download this php_perl.c .wget https://raw.github.com/do-aki 阅读全文
摘要:
Debian install pcel not ok.I think this module is Warning~.I can try to again in the crunchbang Linux .In the pecl official website, tell as how to install pecl.but , I can't success ....Then ,i find the module in the debian . This package is ture.sudo apt-get install libapache2-mod-perl2Now , P 阅读全文
摘要:
今天一直在摸索这个东西,弄了下有关SESSION的。目前登录验证模块解决了。下面就是要入库。问题来了,无法将mysql查询封装成函数,一瞬间鸭梨山大。虽然查询没有问题,但是我很想封装成函数,因为这样能够减少重复代码,一直以来我都觉得重复代码是一件无比二笔的事情,然而PHP的函数封装,真的很无奈,估计没学好,到现在还在摸索中。把今天遇到的问题做个记录,以后遇到就明白了。<?phpinclude "../inc/session.php";include "../inc/config.php";//$boc=select("select * f 阅读全文
摘要:
这个页面是我用来做PHP测试用的....<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="tex 阅读全文