The scenario is I have a blog powered by Movabletype. All html files. Later I need it to be running like a php file. Then I can add php codes inside without changing extension name from html to php. I’d like to keep the URL. The blog is about five years old. OK. Two years
We know php is very powerful web script language. Now I would like to introduce the mailing management program, phplist. It is an open-source newsletter manager. phplist is free to download, install and use, and is easy to integrate with any website. Open Souce? Yes, I like it. Free to download and use it in
I wrote PHP Optimization to improve performance. Now I have another ten PHP optimization tips for you. 1. Single-quoted strings. Use single quote when possible. It is faster than double quote. If it is string only, just pick single quotes. 2. The way output data. Could you point which is the fastest way to output
When coding in PHP in variety ways, some way is simple, some is not. But there must be one better way that can provide better performance. Here is a list of 63+ best practice to optimize PHP code performances I learn some from it. echo is faster than print. require_once() is expensive If you need
Now PHP 5.2.3 is installed on Dreamhost. If you don’t know how to do it, just refer to my previous post, Install customized PHP5 on Dreamhost. Let us see how to add Zend Optimizer support on your own PHP installation. 1) Go to Zend official site. http://www.zend.com/ 2) Find and download the Zend Optimizer 3.3.
Install a customized PHP5 on Dreamhost can help you to make php work better and work more. That means you can add more extension on it. Let’s go to the details of installation. Install/Compile PHP 5 1) Copy the PHP5_installscript (see the last portion of this post) into a text editor and replace YOUR DOMAIN
I have two news, one good, one bad. The bad news is Dreamhost has no PEAR default. The good news is we can install it by ourselves. Let us go through the steps of install PEAR on Dreamhost. 1) SSH to Dreamhost. 2) Enter the command
I posted PHP connect DBF file with a sample. Now Pierre left the message and asked why error comes up. I doing some tests and get the answer. 1) The database.dbf is reserved name. 2) The field name is always capital.
I have a HTTP status check online tool here. It is made by PHP with cURL extension. The trouble is some responses are good. Someone tell me that the url should be 302 redir or 200 Ok, but the tool shows 403 Forbidden. After doing some search and study, I find the problem of some