Code Library

Free Source Code and Program Tips

Image Upload in WordPress via Live Writer

WordPress has been updated to version 2.1.2, and many friends found that they can’t upload images via Windows Live Writer if with PHP 5.2. When publishing a post with a image in it, you will receive an error: “Image Upload Not Surpport by Weblog”. And in the wp-content/upload folder, the images exist there but the [...]

Speed up loading of pages

It’s a truth that loading a html page is much faster than loading php page. So there is a simple method to speed up the WordPress page loading. It’s converting dymantic pages to static html ones. First, save the following to a new file cron.sh in the home directory: wget -O /home/ucosfot/index.html http://www.ucosoft.com/index.php Then, edit [...]