随笔分类 -  PHP

出如此错误,同样的代码却能在另一台机器执行(估计是补丁问题
摘要:<!DOCTYPEHTMLPUBLIC"-//W3C//DTDHTML3.2Final//EN"><htmldir=ltr><head><style>a:link{}{font:8pt/11ptverdana;color:FF0000}a:visited{}{font:8pt/11ptverdana;color:#4e4e4e}</style&... 阅读全文

posted @ 2005-06-29 23:43 DiviSoft 阅读(571) 评论(0) 推荐(0)

温习存储过程的CURSOR
摘要:use esalesdeclare @myid intselect @myid=2declare @nCorpID intdeclare @nCorpIDDest intdeclare @nAction intdeclare @nNum int declare cursorProcNames cursor forSELECT nCorpID,nCorpIDDest,nAction,nNumFROM... 阅读全文

posted @ 2005-06-27 15:26 DiviSoft 阅读(530) 评论(0) 推荐(0)

PHP下的DLL Accesss Denied解决之道
摘要:当前操作系统是XP。php.ini设置了开启 php_mbstring.dll c:\windows\system32\ 下也放了该文件但在浏览以IIS建立PHP脚本的站点时,却出现访问 php_mbstring.dll Accesss Denied.解决办法:将php_mbstring.dll 拷贝到C:\php\下,并设置该DLL为 USERS 也可以完全访问(这点很重要)。 阅读全文

posted @ 2005-06-25 18:34 DiviSoft 阅读(316) 评论(0) 推荐(0)

xp下的host文件配置
摘要:正常情况下127.0.0.1 www.3721.com增加如上,就可以以www.3721.com 正常访问127.0.0.1但却会出现the answer is config the iis website ,directory cert.. 阅读全文

posted @ 2005-06-25 18:08 DiviSoft 阅读(693) 评论(0) 推荐(0)

php 安全介绍。。
摘要:http://phpsec.org/projects/guide/2.html#2.1 阅读全文

posted @ 2005-03-18 14:02 DiviSoft 阅读(265) 评论(0) 推荐(0)

css 文本输出方式 采用textarea
摘要:<HTML><HEAD><STYLE type="text/css"><!--.content {}{ overflow-y:visible; border:0px; font-size:12px; font-family: 宋体 Fixedsys;... 阅读全文

posted @ 2005-03-11 11:59 DiviSoft 阅读(694) 评论(0) 推荐(0)

JDK在LINUX安装
摘要:1. 下载j2sdk-1_4_2_07-linux-i586-rpm.bin到/root 2. chmod +x j2sdk-1_4_2_07-linux-i586-rpm.bin 3. ./ j2sdk-1_4_2_07-linux-i586-rpm.bin 4. rpm –ivh j2sdk-1_4_2_07-linux-i... 阅读全文

posted @ 2005-03-10 15:15 DiviSoft 阅读(1712) 评论(0) 推荐(0)

js for myself
摘要:www.getelementbyid.com 阅读全文

posted @ 2005-03-06 22:49 DiviSoft 阅读(234) 评论(0) 推荐(0)

常用JS,HTML对象
摘要:http://www.iselong.com/online/ebooks/javascript/js_3.htm JavaScript 参考教程文档对象 现在我们将开始讨论更“实际”的话题——文档对象(DOM)。文档对象是指在网页文档里划分出来的对象。在 JavaScript 能够涉及的范围内有如下几个“大”对象:window, document, location, navigator, s... 阅读全文

posted @ 2005-03-04 10:57 DiviSoft 阅读(655) 评论(0) 推荐(0)

smarty 模板 
摘要:http://www.php5.idv.tw/documents/smarty/smarty20040209.htm :smarty模板入门。 原文粘贴如下: Smarty 入門 作者:Jace Ju ... 阅读全文

posted @ 2005-01-24 13:57 DiviSoft 阅读(419) 评论(0) 推荐(0)

JavaScript类(转载)
摘要:Introduction The article by Sergey Zavadski introduces the object model of the JavaScript programming language and demonstrates common practices in the OOP (object oriented programming) with JavaScrip... 阅读全文

posted @ 2004-09-28 14:14 DiviSoft 阅读(394) 评论(0) 推荐(0)

XML解析问题
摘要:PIC12345853939_461312345ALB12345_1095851449_92502004-09-22 19:52:1910101234512345_USERNAME&amp;nbsp;doc/12/345/PIC12345_1095853939_4613_0001.txtpic/12/345/PIC12345_1095853939_4613.jpg127.0.0.1001000'... 阅读全文

posted @ 2004-09-23 11:44 DiviSoft 阅读(839) 评论(2) 推荐(0)

php+cookies
摘要:$date = gmstrftime("%A, %d-%b-%Y %H:%M:%S",(mktime()+6400) );$HTTP_HOST = "www.chipchapin.com"; // our server's hostname1: header("Set-Cookie: testcookie1=present;"); 2: header("Set-Cookie: tes... 阅读全文

posted @ 2004-09-23 11:43 DiviSoft 阅读(476) 评论(0) 推荐(0)

使页面里所有大于_width的图片,全部成比例缩小成_width
摘要:脚本控制://使页面里所有大于_width的图片,全部成比例缩小成_widthfunction imageresize(_width) {//自动将所有大图片变成固定宽度 var iIndex=0; var nImgCount=0; var _obj=document; nImgCount=_obj.images.length; for(i=0;i_width) { ... 阅读全文

posted @ 2004-09-09 15:21 DiviSoft 阅读(365) 评论(0) 推荐(0)

崚 不能被 iconv(gb2312,utf-8 ,string)
摘要:如下这段文字使用 iconv(gb2312,utf-8 ,string),发生“崚”为非法字符,明显这是这个函数的BUG8月19日,中国选手张军/高崚在雅典奥运会羽毛球混双决赛中,以2比1击败英国选手罗伯逊/埃姆(Nathan Robertson/Gail Emms),蝉联奥运冠军。回答:使用 iconv(gbk,utf-8 ,string) 解决如上问题 阅读全文

posted @ 2004-08-20 17:57 DiviSoft 阅读(862) 评论(1) 推荐(0)

DOMDocument for php5
摘要:http://xml.apache.org/xerces-c/apiDocs/classDOMNodeList.html在使用 getLength 方法时出错!? 真搞不懂!http://www.php.net/manual/zh/ref.xml.php 阅读全文

posted @ 2004-08-09 10:03 DiviSoft 阅读(754) 评论(1) 推荐(0)

php5遇到mysql
摘要:在装完了PHP基本安装后, 拷贝 php5/libmysql.dll,php_mysql.dll 到 d:\winnt\system32 并且将PHP.INI的 EXTENSION=PHP_MYSQL.DLL 打开。就OK了 阅读全文

posted @ 2004-08-09 00:18 DiviSoft 阅读(1039) 评论(4) 推荐(0)

PHPLIB安装指南
摘要:1 确定你机器上已经安装好了PHP,可使用进行测试。2 新建一WEB站点为PHPLIB,并创建 PHP 子目录。(PHPLIB压缩包里面包含的需要的类和演示)3 解压 phplib 包,里面包含很多子文件夹,将其中的PHP文件夹下的所有东西都解压到刚创建的PHP目录。4 打开 php.ini或php3.ini ,更新include_path 为该PHP目录,更新 auto_prepend_file... 阅读全文

posted @ 2004-08-05 10:14 DiviSoft 阅读(1664) 评论(2) 推荐(0)

导航