PHP
chenaaron
a simple programmer
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
PHP associate with Flash or micromedia
find a good technology from http://amfphp.sourceforge.net/docs/whatsnew.html Study ......原创 2006-12-26 21:44:00 · 600 阅读 · 0 评论 -
PHP Get time from server
<?php//如果php>5.1.0if(phpversion()>='5.1.0'){ ////获取php当前使用时区 //echo date_default_timezone_get(); //设置时区 date_default_timezone_set('Asia/Shanghai');}echo date('Y-m-d H:i:s...2007-11-04 20:12:45 · 288 阅读 · 0 评论 -
Pear enhance PHP functionality: SQL2XML
Basically PHP5 or above can run smoothly by me.Prerequisites: PHP5.2 or aboveInstall: Replace the go-pear.phar content in php/pear directory with http://go-pear.org/Double click the go-pear.bat to...2007-09-23 10:29:54 · 94 阅读 · 0 评论 -
PHP New Features
处理目录,文件PHP5中使用大量Iterator,包括ArrayIterator,CachingIterator,LimitIterator,RecursiveIterator,SimpleXMLIterator和DirectoryIterator.用PHP和PEAR比较文件内容提交输出,相信很多人在Unix/Linux下面都用过Diff命令,这个命令是个非常方便实用的工具,能够对不同文件进行...2007-09-18 22:38:13 · 137 阅读 · 0 评论 -
CakePHP Application
Prerequisites:Install Apache(my version 2.2) and configure the php in httpd.conf,Install Mysqlenable LoadModule rewrite_module modules/mod_rewrite.soConfigure the database connectionMVC constru...2007-08-20 13:25:44 · 148 阅读 · 0 评论 -
ORA-12705: Cannot access NLS data files or invalid environme
Today,I encountered an issue, that report ORA-12705: Cannot access NLS data files or invalid environme,I am accessing the oracle database which install in unix ,by php under windowxp. also in my pc,...2007-08-16 21:33:50 · 439 阅读 · 0 评论 -
XML to JSON PHP
XML is a well-format and generally used in data transfer and store,likewise,JSON is a very convenient format for interchange data, and moreover JSON is easy to be parse by many language,Based on thi...2007-08-15 15:59:47 · 151 阅读 · 0 评论 -
PHP instantclient for oracle
Oracle 10g Instant Client (free download available) is the easiest way for PHP to connect to a remote Oracle database, requiring installation of only three libraries. The Instant Client libraries use...2007-08-15 15:05:24 · 250 阅读 · 0 评论 -
PHP ORACLE
Are you ready to start using PHP to talk to an Oracle Database? Let's walk through the steps required to install the Oracle Database, Apache HTTP Server, and PHP as an Apache module on Windows. We wil...2007-08-15 14:46:54 · 119 阅读 · 0 评论 -
Mysqli for PHP(Data bind)
Mysqli supply with many new features for the php programming,also it's an OOP.The below example can show you some: databind$mysqli = new mysqli('localhost', 'aaron', 'xxxxxx', 'amo');/* check conn...2007-06-08 16:32:23 · 147 阅读 · 0 评论 -
PHP and XML
Use DOM&lt?php//Creates XML string and XML document using the DOM$dom = new DomDocument('1.0');//add root - <books>$books = $dom->appendChild($dom->createElement('books'));//ad...2007-05-09 21:53:18 · 122 阅读 · 0 评论 -
PHP5.2 New feature one(Filter)
Basically there exists some odd input form in html. first form validateInupt page:input.html submit page:filteringexample1a.phpPlease check the two files,and find the php feature:filter_var($_GE...2007-04-19 13:25:09 · 174 阅读 · 0 评论 -
PHP5.2 Smarty2.6.18 Coherent
In my comany project,due to no time to manage the web structure(php), only leave the pure php files and other scripts in my project.from now on,under the cerntain situation, and with the project on-go...2007-04-17 20:56:27 · 339 阅读 · 0 评论 -
PHP some simple algorithm
<?//插入排序(一维数组)function insert_sort($arr){ $count = count($arr); for($i=1; $i<$count; $i++){ $tmp = $arr[$i]; $j = $i - 1; while($arr[$j] > $tmp){ ...2007-04-11 22:56:33 · 158 阅读 · 0 评论 -
Apache2+PHP5.2+Mysql development environment set up
1.OS: xp2.Server:Apache2.0.59 download: http://httpd.apache.org/download.cgi3.Database:Mysql5.0.16 download http://www.mysql.com/download4.PHP5.2 download http://php.netModify Apache conf/...2007-04-05 17:35:03 · 127 阅读 · 0 评论 -
PHP Web Service (zhuan)
允许web应用程序通过XML与其他程序通信的价值对您来说可能显而易见,但是对我来说并非如此,至少最初是这样。因此本文讲述一个示例,演示通过在应用程序中设置XML接口可以实现哪些功能。首先讲述简单的HTML前端,然后显示如何构建XML接口并添加各种阅读器(包括Ajax、RSS和Adobe Flex)。文章应用程序首先讲述的测试应用程序是数据库中有一个文章列表的程序。清单1显示了这个数据库。清单 1....2008-01-28 20:52:14 · 172 阅读 · 0 评论
分享