摘要: <?php header("content-Type: text/html; charset=gb2312"); include_once("DBHelper.php"); include_once("test_array.php");?> <!--==========业务逻辑==========--><?php$conn = new ADOConnection;$conn -> PConnect("localhost","root","weoffi 阅读全文
posted @ 2011-02-23 15:14 流失的痕迹 阅读(546) 评论(0) 推荐(0)
摘要: <?php header("content-Type: text/html; charset=gb2312"); include_once("DBHelper.php");?> <!--==========业务逻辑==========--><?php$conn = new ADOConnection;$conn -> PConnect("localhost","root","weoffice","eoffice");//数据库连接$conn 阅读全文
posted @ 2011-02-23 14:42 流失的痕迹 阅读(156) 评论(0) 推荐(0)
摘要: //DBHelper.php<?phpclass ADOConnection{//打开数据库的连接function PConnect($ip,$user,$pwd,$database){$db = mysql_connect($ip,$user,$pwd);if(!$db) {print "在连接到数据库服务器时,产生错误".mysql_error();exit;}$link = mysql_select_db($database,$db);if(!$link) {print "在连接上服务器,选择数据库时出现错误".mysql_error();e 阅读全文
posted @ 2011-02-23 14:41 流失的痕迹 阅读(411) 评论(0) 推荐(0)
摘要: DynamicLoad.js文件代码如下:function DynamicLoad(){//属性var Self=this; //对象自身//功能:加载指定的文件//参数:src——需要被加载的文件//返回:(无)this.Load=function(src){if(Self.IsLoaded(src)) //判断该文件是否已经加载了{ Self.OnLoaded(src); return;}else //如果没有加载,动态创建{ var objDynamic; //动态创建的对象 var type=Self.GetSrcType(src); //文件类型 if(type=="js& 阅读全文
posted @ 2011-02-23 10:20 流失的痕迹 阅读(1571) 评论(0) 推荐(0)
摘要: <!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> <title></title></head><body> <input type="text&q 阅读全文
posted @ 2011-02-22 17:39 流失的痕迹 阅读(2321) 评论(0) 推荐(0)
摘要: <!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> <title></title></head><body><table width=100% cellpad 阅读全文
posted @ 2011-02-22 16:04 流失的痕迹 阅读(3005) 评论(0) 推荐(0)
摘要: 摘自--我佛山人<title>表单验证类 Validator v1.01</title><style>body,td{font:normal 12px Verdana;color:#333333}input,textarea,select,td{font:normal 12px Verdana;color:#333333;border:1px solid #999999;background:#ffffff}table{border-collapse:collapse;}td{padding:3px}input{height:20;}textarea{wid 阅读全文
posted @ 2011-02-22 16:02 流失的痕迹 阅读(1967) 评论(0) 推荐(0)
摘要: 1.avi格式 以下内容为程序代码: <object id="video" width="400" height="200" border="0" classid="clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA"> <param name="ShowDisplay" value="0"> <param name="ShowControls" value="1 阅读全文
posted @ 2011-02-22 16:00 流失的痕迹 阅读(2004) 评论(0) 推荐(0)
摘要: www.web-tag.net(取自)/* function:check is null?args:str(str)return: true(null) false(not null)*/function isNull(str) { if (str == "") return true; var regu = "^[ ]+$"; var re = new RegExp(regu); return re.test(str);}/* function:check the date(s) is less than or equl to endtime(e)ar 阅读全文
posted @ 2011-02-22 15:59 流失的痕迹 阅读(263) 评论(0) 推荐(0)
摘要: 目的:自由控制文本框不能被客户改变(只能通过脚本来改变值),或者可以被客户自由改变。<!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> <title></title> <script 阅读全文
posted @ 2011-02-22 15:56 流失的痕迹 阅读(422) 评论(0) 推荐(0)