Archive for the ‘PHP’ Category.
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’ »
March 14, 2010, 01:57
In my previous article, I already demonstrate how to simulate login to Facebook through their mobile interface. But now, after request from my readers, I want to show you how to simulate login to Facebook through their web interface using PHP and curl. I read some codes from the internet but mostly failed when I tried it, perhaps because of the script not fully simulate a web browser to do a login to Facebook. Continue reading ‘Simulate Login to Facebook with PHP and curl’ »
March 11, 2010, 23:44
Friendster (www.friendster.com) is one of popular social network in the internet. Through this short article we will demonstrate how to post shoutout message to your Friendster account using PHP and curl. Shoutout in Friendster is just like status message in Facebook. Here is the code to post the shoutout to Friendster. Continue reading ‘Posting Shoutout Message to Friendster using PHP and curl’ »
March 10, 2010, 15:13
We will visualize the official earthquake data from U.S Geological Survey (USGS) into the chart using FusionCharts Free. USGS has earthquake feed is available on http://earthquake.usgs.gov/eqcenter/catalogs/eqs1day-M2.5.xml. We will feed this data and draw it into FusionCharts Free. Continue reading ‘Visualize Realtime USGS Earthquake Data using FusionCharts Free, PHP and Ajax (prototype.js)’ »
March 3, 2010, 10:46
Fortunately we have time to play with FusionCharts again. Now we will playing with real-world case. We will visualize the official earthquake data from U.S Geological Survey (USGS) into the chart using FusionCharts. I am using FusionCharts Developer licence in this case. USGS has earthquake feed on http://earthquake.usgs.gov/eqcenter/catalogs/eqs1day-M2.5.xml. We will feed this data and draw it into FusionCharts. Continue reading ‘Create Realtime USGS Earthquake Data Chart with FusionCharts using PHP and Ajax (prototype.js)’ »
Tags:
Ajax,
data,
depth,
earth,
earthquake,
feed,
FusionCharts,
gempa bumi,
magnitude,
period,
prototype.js,
richter,
us geological survey,
usgs,
xml Category:
FusionCharts,
PHP |
1 Comment
March 1, 2010, 16:35
Playing with APIs on other web service is always fun. Now we will talking about utilizing the Zend Framework’s Zend_Gdata class to manipulate user account on your Google Apps account. Nowdays there many people or institutions using Google Apps as their e-mail solutions. If you are using Google Apps Premier Edition and Google Apps Education Edition you will have access to Google Provisioning API. To enable the API, log in to your admin account, and click the Users and groups tab. Then click the Settings subtab, select the checkbox to enable the Provisioning API and save your changes. (You will need to complete the steps for setting up Google Apps before you can log in to your admin account.) Continue reading ‘Using Google Apps Provisioning API with Zend Framework Gdata Class to Manipulate User Account’ »
March 1, 2010, 10:30
One of our readers ask me about Gmail API availability. Yes, right now there is no Gmail API from Google. They only provide Gmail Atom Feed to get the unread messages from a particular Gmail user account. How to do that? Here is the simple code using PHP libcurl and Zend_Http_Client class. Continue reading ‘Access to Unread Gmail Messages using Gmail’s Atom Feed and PHP’ »
Tags:
atom,
class,
E-mail,
email,
feed,
Gmail,
google,
message,
PHP,
zend,
Zend Framework,
zend_http_client Category:
Gmail,
PHP |
Comment
February 27, 2010, 07:17
After reading the How to Install Zend Framework? article, some of the reader asking about how to use Zend Framework without editing the php.ini file. Yes, good question. Actually there is another way to achive this. You can use the ini_set() function to set the value on your PHP configuration option. Here is the sample of using ini_set() to change the value of ‘include_path’ on your PHP configuration. Continue reading ‘How to Use Zend Framework without Editing php.ini File?’ »
Tags:
configuration,
framework,
ini_set,
library,
path,
path_separator,
PHP,
zend,
Zend Framework,
zf Category:
PHP,
Zend Framework |
1 Comment
February 26, 2010, 01:32
LinkedIn (www.linkedin.com) is one of the famous professional social network in the world. They connect many professionals around the world through their network. One of nice feature on LinkedIn is you can update status message. They called it ‘What are you working on?’. Here is simple PHP code that can update status message on your LinkedIn account. This code is using PHP libcurl. Continue reading ‘Update Status on LinkedIn using PHP’ »
February 25, 2010, 00:53
One of very common feature on a community or social network website is ‘forget password’ feature. What the hell is that? Well, it’s seems this feature is not important, but actually it will be useful if the member of the site was forgot their password. How to create a simple but quite good ‘forget password’ feature? As usual, we will need a scenario to reproduce our problem. But before we talk about the scenario, we will cover about our ‘forget password’ mechanism first. Continue reading ‘Create a Simple ‘Forget Password’ Feature using PHP’ »
Tags:
Database,
forget,
forget password,
internet,
lost,
lost password,
lupa,
lupa password,
MySQL,
password,
PHP,
security,
web Category:
MySQL,
PHP |
11 Comments
February 23, 2010, 14:07
Many people still confusing about editing the php.ini file on GoDaddy.com shared hosting environment. Actually it was easy to do that. For PHP 5 setting you just create php5.ini on your GoDaddy.com web root folder. Add entry to your php5.ini file and save it. GoDaddy.com will reflect the changes you have been made on the php5.ini file. This will be useful when you need to add something on your php.ini file, for example add new value on your include_path or something else that requires you to edit the php.ini file. I hope this simple information helps you. Continue reading ‘How to Edit php.ini on your GoDaddy.com Shared Hosting’ »
February 22, 2010, 15:45
One of our reader was asking about how to read RSS feed from Detik.com (one of the leading online news service). Their RSS service is located at http://rss.detik.com/. Here is the PHP code to read their RSS feed. Continue reading ‘Read Detik.com RSS Feed using PHP and DOMDocument Class’ »
February 19, 2010, 23:26
We receive a request from our reader to create simple realtime chart update but without page refresh. Fortunately there are many solutions to do this, but now we will cover using a nice flash charting component called FusionCharts. FusionCharts comes with several edition, but now we will use the FusionCharts Free version. You can download it from http://www.fusioncharts.com/free/. By the time of this writing, FusionCharts Free version is 2.2. Continue reading ‘Create Realtime Chart Without Page Refresh using FusionCharts Free and Ajax (prototype.js)’ »
Tags:
Ajax,
chart,
dynamic,
free,
FusionCharts,
FusionCharts Free,
gratis,
Javascript,
js,
periodic,
periodicalexecuter,
PHP,
prototype.js,
real time,
refresh,
update,
updatechartxml Category:
Ajax,
FusionCharts Free,
MySQL,
PHP,
Prototype Javascript |
15 Comments
February 17, 2010, 16:39
Twitter is the most popular micro-blogging platform today. In addition to using twitter.com to post a message, then you can also use Twitter API to post your message. Here is some code to post a status message to Twitter using their Twitter API. Continue reading ‘Posting to Twitter using PHP libcurl, Zend Framework (Zend_Http_Client Class) and curl Command Line Utility’ »
Tags:
api,
Curl,
framework,
PHP,
Twitter,
twitter.com,
zend,
Zend Framework,
zf Category:
Curl,
PHP,
Twitter,
Zend Framework |
12 Comments
February 16, 2010, 10:26
RSS is very popular syndication format. Many people called it ‘Really Simple Syndication’ or some others called it ‘Rich Site Summary’. Through this article we want to show about how to read RSS feeds using PHP and DOMDocument class. Suppose we have RSS feeds at http://www.sony-ak.com/feed/rss and we want to get all of the recent posts (the article title and link). Here is the code to do that. Continue reading ‘Get Feeds Data (RSS) using PHP and DOMDocument Class’ »