July 25, 2010, 20:26
This morning I got interesting e-mail. He want to grab his latest status message on his Facebook account using PHP. How to do that? It’s simple, I just doing some web scraping to Facebook Mobile interface and get the status message from there. Here is the code. As usual, I am using curl to do this task. Continue reading ‘Read your Latest Status Message on Facebook using PHP’ »
June 24, 2010, 00:16
One of my friend ask me to do login to Friendster (www.friendster.com) using Curl on PHP and get their session. OK, it’s very simple. Please have a look on below simple code. This code created on June 23, 2010. Friendster might change the login mechanism without notice. If this code is not working, you can contact me again. Continue reading ‘Sample Code of Login to Friendster using Curl on PHP’ »
June 1, 2010, 01:02
Yesterday my friend ask me about how to consume or call SOAP web service using PHP. OK, it should be easy because PHP has a great SOAP extension to handle this. First you must check if your PHP stack already installed with SOAP extension. Just call the phpinfo() function from your script and check if there any SOAP installed like below. Continue reading ‘Simple Example of Consuming Web Service using PHP SOAP Extension’ »
May 27, 2010, 15:40
If you want use <? … ?> rather than <?php … ?> on PHP, you can do the following steps. Continue reading ‘short_open_tag Directive on php.ini’ »
April 30, 2010, 00:07
My friend ask that question to me. The answer is definitely Yes. But the next question is everything gonna be fine after installation? The answer also Yes. I assume you install the Zend Server CE (Community Edition) on Windows. Just run the installation file. I am using the Zend Server CE version 5.0.1 that using PHP 5.2. Oh ya, by the way I forgot to introduce Zend Server CE? Zend Server CE is web application server from Zend that contains PHP and Apache web server. Continue reading ‘I already have XAMPP installed, can I install Zend Server CE on the same machine with XAMPP?’ »
April 25, 2010, 16:00
In my organization, there are so many internet domains that have to be monitored, especially on their expiration date. To make my life easy, I create little dashboard to monitor the domain expiration. It just shows simple domain list, its expiration date and how many days or months left before expiration. How to create such this simple dashboard? Just follow this article. Continue reading ‘Create Simple Dashboard for your Domain Expiration Information’ »
April 19, 2010, 16:38
One of my friend is currently using internet connection using VSAT from IPSTAR. The IPSTAR technical guy give him the special URL to detect the signal strength from the VSAT terminal. Unfortunately, that URL only can be accessed properly by using Internet Explorer browser. So he asks me to find out how to read the signal strength data directly without using the web browser. Continue reading ‘Create Dashboard to Detect Signal Strength on IPSTAR Terminal Properties’ »
April 13, 2010, 08:59
Now we will cover about how to create simple data paging using PHP and MySQL. Sometimes you have to display large set of data on the web page. Using data paging, you can display your data page-by-page and you can define how many data should be displayed on each page. Let’s start our mission. Continue reading ‘Create Simple Data Paging using PHP and MySQL’ »
April 11, 2010, 16:28
In this article, I will explain how to simulate file upload using PHP and curl. First I will create the complete but simple normal upload in PHP. Here is the code to do a normal file upload on PHP. Continue reading ‘Simulate File Upload with PHP and curl’ »
April 11, 2010, 04:19
My friend ask me to create simple generic top-level domain whois service. It’s easy actualy, I remember that there is simple whois service that I usually use to check domain availability. It’s called Fonetrek.mobi. Let’s go to use it as our simple whois service using PHP and curl library. The URL to check domain whois is like below. Continue reading ‘Create Simple Whois Service with PHP and curl’ »
April 8, 2010, 02:52
Hi people, sometimes we need to count number of days between two given dates. Here is the code on PHP. Continue reading ‘Search How Many Days Between Two Dates with PHP’ »
April 6, 2010, 00:01
Some of my friends asking about how to create WordPress plugin. This is interesting question since I never write WordPress plugin before. Now I want to share about creating simple WordPress plugin. First I need to define what should I do with the plugin. After some thoughts, finally I will name the plugin as ‘Twitter Top One’. Plugin ‘Twitter Top One’ will display latest tweet from a particular Twitter account. Continue reading ‘Creating Simple WordPress Plugin, Twitter Top One’ »
April 5, 2010, 22:36
This short article will cover about how to check node existance on XML document using SimpleXMLElement Class on PHP. We can utilize the xpath() method to check the node exists or not. Here is the sample code. Continue reading ‘Check Node Existance on XML using SimpleXMLElement Class on PHP’ »
April 3, 2010, 00:35
If you want to utilize avatar on your site or application, you can use one of great service from Automattic. It’s called Gravatar. Gravatar is simply an image that associated with particular e-mail address. Avatars usually help identify someone posts on blogs and web forums. You can read the usage of Gravatar on http://en.gravatar.com/site/implement/url. Continue reading ‘Display Avatar using Gravatar on your PHP Application’ »
March 25, 2010, 14:01
If you are a PHP developer, you should have this nifty add-ons for your Firefox web browser. It’s called PHP Developer Toolbar. You can download it from https://addons.mozilla.org/en-US/firefox/addon/12686. With this add-ons you can search particular PHP function and it will show you its syntax, parameters and description. I already talk to Felipe (the author of this add-ons) that perhaps he can add simple example for each PHP function. Continue reading ‘PHP Developer Toolbar Add-ons for Firefox, Makes your PHP Programming Easy’ »