When I am doing some programing, I may need the Regular Expression rule to validate the data user submit. It is used to protect the program and save the resource of server. To write a perfect Regular Expression Rule is not easy. You need try and try, test and test. Until I found this site
DBF is very old format databse type. About 10 years ago, I use dBase which use DBF format. Now I will show you how to connect the DBF file from PHP script. 1) Add a system DSN in ODBC Data Source Administrator I have a source named dd.
The default PHP of DreamHost is not support Zip extension. To let it support Zip. You need following steps. 1) Have your own customized PHP compile, which I posted before. 2) Then need to installing PECL Zip Followed the guide on wiki. The only difference I did, is to move zip.so file from /home/username/php5/lib/php/extensions to
I put some social network button on site. The Html Validator always tell me some URL is not correct. Ok. I have to code it my self to replace the original code. Original code is as shown below: I change it to: Now the link is perfect, without warning from HTML Validator. Perfect code.
I have a dream, mentioned in my Chinese Blog. I want to replce the current Windows 2003 server by a Linux server. There are something to do before I move to Linux. I am familiar with the Windows just like lots of other people who runs a Windows desktop. Now for Server side, Linux, Bind,
I have a Ubuntu 7.04 server here with following server. Apache2 and PHP 5 The PHP info show as below: I still want to install Zend Optimizer. So I go to Zend’s official server, get the link of the latest version. Now I record the steps how to install it on Ubuntu 7.04 server. 1)
Yes, I learn to install WordPress MU on the 1and1 server. I finished the installation very smoothly. Only one issue found by my friend George yesterday. He told me that the wp-signup.php does not work. Actually, I have no problem on my computer with Firefox. I just have an idea, it may be the IE.
Last week, I installed Ubuntu 6.10 server version Linux on an old computer. You can see some information below from phpSysInfo. Let me record my installation history. 1) Download Ubuntu 6.10 server image file, and burn it on CD. 2) Boot the computer from this boot-able CD, while promoted, I choose LAMP, and use all