[23] Results

PHP : Hide PHP version information from curl


By default, PHP will expose its version information when query by curl -I and you may want to hide the version information to prevent a….... read more

PHP : See installed compiled-in-modules


PHP has compiled-in modules that allows it to perform various operation. If you want see what modules is linked to PHP. Enter the following command:….... read more

Facebook PHP getUser() returns 0

facebook php

Recently upgraded my DigitalOcean droplet's PHP to version 5.4.2 and couple of days later I started getting complaints from the users that Facebook sign up….... read more

Facebook : Getting the friends list with PHP return JSON format

facebook php

Problem : How to get friends list in Facebook with PHP in Json format? Solution : Use Facebook SDK https://graph.facebook.com/me/friends Below is a code fragment….... read more

PHP : Count number of JSON items/objects

php json

Recently I need to paginate the search result returned by ElasticSearch. To paginate the result with standard CodeIgniter paginate helper....….... read more

Get Facebook friends working in same company

facebook php

Problem : Need to find common friends working in the same companies with Facebook. Solution : Use FQL to extract friends' work history. FQL :….... read more

CodeIgniter : How to check if a session exist in PHP?

php codeigniter session

Problem :

How to check if a CodeIgniter or PHP session exist or not?

Solution :

From the official PHP….... read more

PHP : Send HTML email

php html email

Sending email with PHP is easy and in this tutorial, we will learn how to send HTML based email with….... read more