Archive For php

Web Development Using PHP, MySQL and Flash

PHP and Adobe Flash (formerly Macromedia Flash) are popular scripts used for creating web pages and online multimedia presentations. The two scripts can be combined to create dynamic, interactive pages... [More...]

Snippet Code To Benchmark Your PHP Script

Snippet Code To Benchmark Your PHP Script

Testing is one of common task for programmer. In every development phase, testing is need to be done before moving to next phase. There are a lot of testing technique. One of them is benchmarking, to test... [More...]

Install And Configure Nginx, PHP, MySQL On Ubuntu

Install And Configure Nginx, PHP, MySQL On Ubuntu

Nginx is simple webserver yet powerful. It is widely know for stable webserver. If it is well configured, nginx rarely have spike in the cpu load and have low memory consumption. Nginx is known for its... [More...]

Image Watermarking Using PHP

Image Watermarking Using PHP

There are someways to protect your copyrighted images. One way is use watermark image so when someone copy your image, it is hard to remove the watermark and they cannot use it for their own benefit without... [More...]

[TIPS] Convert Your Numbers To Human Readable Format

[TIPS] Convert Your Numbers To Human Readable Format

Sometimes your code produce a large numbers which is hard for user to read it. For example 17753392783 bytes or 18293753038 unit. For human eyes, it is easier to get 17MB or 1 million rather than lot of... [More...]

[TIPS] Write print_r() Output To File

[TIPS] Write print_r() Output To File

When debugging a php application, print_r() or var_dump() often use to display the data inside the variable, usually an array that store many data inside. print_r() is core php function to displays information... [More...]

Things You Can Do With PHP cURL

Things You Can Do With PHP cURL

Curl is a command line tools to transfer data using various protocol. Curl project was released with libcurl, which is a library for curl that can be use in multi programming language. But it is widely... [More...]

Keep PHP Process Upon Closed Client Connection

Keep PHP Process Upon Closed Client Connection

PHP process as default will stop or terminate the process when the client close the connection or process timeout. When user stop the process through browser it will automatically send abort header, and... [More...]

[HowTo] Publish Post Via XML-RPC In WordPress

[HowTo] Publish Post Via XML-RPC In WordPress

There are many ways to publish WordPress blog post. You can publish from the WordPress admin interface, you can publish via email and also you can publish it via XML-RPC. So what is XML-RPC? XML-RPC is... [More...]

PDO Sqlite3 Not Working In PHP 5.3.3 And WHM/Cpanel 11.26.8

PDO Sqlite3 Not Working In PHP 5.3.3 And WHM/Cpanel 11.26.8

The latest PHP v.5.3.3 doesn’t work good with PDO Sqlite3. I am using a VPS (Virtual Private Server) with Centos 5 and WHM/Cpanel 11.26.8. Everything goes fine except there is an error message “undefined... [More...]

[HowTo] Install Apache, PHP, MySQL, and PHPMyAdmin on Ubuntu

[HowTo] Install Apache, PHP, MySQL, and PHPMyAdmin on Ubuntu

After a while i haven’t write on my blog. Now i’m ready to start writing again. Probably you notice that i changed my theme. Yes i was busy redesign my theme from the start. Anyway i will tell... [More...]

WordPress 2.8.1 Release

Today my wordpress upgraded to new version, version 2.8.1. There wasn’t so many change though. But it feels better to upgrade to the newest version. Here is the change log for WordPress v.2.8.1: Certain... [More...]

[HowTo] Install ImageMagick/Imagick For PHP On Ubuntu

Installing ImageMagick on Ubuntu with PECL is really simple. But i want to share with you how to install it beside to remind myself someday, if i forget how to install it. ImageMagick is a php library... [More...]

[TIPS] Get File Extension Easily in PHP

i want to share a tips for you to get file extension in PHP easily. Before i always use the old way to get the file extension, that is using substring and find the last “.” (dot), and get the... [More...]

[HowTo] Install Curl in PHP5 and Apache

This time i want to share with you how to install Curl in PHP5 in Linux Environtment (I’m using Ubuntu 8.10) and using apache web server, but if you have any question to install php-curl in other... [More...]

Simple Create Order module – Zen cart

Simple Create Order module – Zen cart

I have created a simple module in zen-cart. This module called Simple Create Order v1.0. I created this module because i can’t find any module for create order from the admin back end. After did... [More...]