Checking Valid Emaill address with Regular Expression
This is an example from Wicked Cool PHP, an very handy book for daily PHP coding. I am reading this book now. It has 12 chapters, total 76 tips.
Tech geek. Life geek.
This is an example from Wicked Cool PHP, an very handy book for daily PHP coding. I am reading this book now. It has 12 chapters, total 76 tips.
There are certain PHP configuration tat affect security features. The following recommended security configuration options is for production servers. register_globals set to off safe_mode set to off error_reporting set to off disable these functions: system(), exec(), passthru(), shell_exec(), proc_open(), and...
It is a general test on a Centos 6.4 system. The benchmark script is made by http://www.php-benchmark-script.com/. The first time I run it on the updated default Centos6.4. The php version is 5.3.3. I think it has Xcache installed. The...
Linux Malware Detect is a malware scanner for Linux released under the GNU GPLv2 license, that is designed around the threats faced in shared hosted environments. Here is a HOWTO to show you the installation on CentOS 6.3. 1) SSH...
I have VPS and Webmin on it. I use Webmin as control panel. Webmin just release 1.620. Upgrade my Webmin as noticed. Click the button, Upgrade Webmin Now, to upgrade it.
I use Ubuntu on my Netbook, Acer Aspire One. It has only 8 GB SSD as storage. The disk space is always tight there. That is why I install Lubuntu on it. Light and quick respond. After a few months...
Google announced that new Ultrabook, Chromebook Acer C7 yesterday. It is $199.00, available in US and UK now. It is the cheapest Chromebook, comparing with Samsung Chromebook from $249 to $449. Acer C7 has Inter Core CPU, 2GB memory,3 USB...
XCache is a open-source opcode cacher, which means that it accelerates the performance of PHP on servers. It optimizes performance by removing the compilation time of PHP scripts by caching the compiled state of PHP scripts into the shm (RAM)...
After I upgrade my server from php 5.2 to php 5.3.3, I need XCache to accelerate my phpBB. I did an installation from source. Then when I run command to check php version, it shew.
I have a forum running by phpBB 3. After upgrading to phpBB 3.0.10, the board notice said, from phpBB 3.1, the next version, it will not support php5.2. phpBB 3.1 “Ascraeus” to require PHP 5.3.2 My server is running php...
For testing purpose, I need a CentOS 6.3. So I download CentOS DVD image. Installed it in VirtualBox as web server. Note: The network of guest system is using bridged, which allow the guest access internet, and also allow the...
My first project for Raspberry Pi is game emulator. Oh, no, it is the second. The first is to make a case for Raspberry Pi. Let us look at the Raspberry Pi’s status when it working inside of the case....
Before install Apache2, PHP5 and MySQL, install CentOS 6.3 server first. Followed the steps to install these staff. 1) Installing MySQL 5
Centos has following ISOs for i386 CPU. [ ] CentOS-6.3-i386-LiveCD.iso 07-Jul-2012 10:14 690M [ ] CentOS-6.3-i386-LiveCD.torrent 09-Jul-2012 11:31 216K [ ] CentOS-6.3-i386-LiveDVD.iso 07-Jul-2012 02:03 1.6G [ ] CentOS-6.3-i386-LiveDVD.torrent 09-Jul-2012 11:31 259K [ ] CentOS-6.3-i386-bin-DVD1.iso 07-Jul-2012 01:46 3.5G [ ] CentOS-6.3-i386-bin-DVD1to2.torrent...
I installed a CentOS 6.3 server on virtualbox. It has no windows, or GUI installed. Now I wanted to add a GUI to my server, but I could not find easy documentation showing how to add a GUI, or Gnome...