PHP

How to download webpage content using PHP CURL

September 5, 2011

Thumbnail image for How to download webpage content using PHP CURL

PHP CURL-The powerful and useful library to fetch contents from websites remotely.Using Php CURL you can able to download the webpage source of any website and store it to a php variable.Curl requests to any webpage server and downloads the content.

How to create facebook application using PHP and graph api

February 13, 2011

Thumbnail image for How to create facebook application using PHP and graph api

This tutorial will explain how to create a facebook application using Graph api and PHP.For those who are new to Facebook platform you need to learn the basics of Graph api.We are about to build a facebook application you can see a demo here.

4 Array functions you should know in PHP

January 3, 2011

Thumbnail image for 4 Array functions you should know in PHP

An array is a series of elements of the same type placed in contiguous memory locations that can be individually referenced by adding an index to a unique identifier.for example, we can store 5 values of type int in an array without having to declare 5 different variables, each one with a different identifier. Instead of that, using an array we can store 5 different values of the same type, int for example, with a unique identifier.

5 Useful mathematical functions in PHP

January 2, 2011

Thumbnail image for 5 Useful mathematical functions in PHP

Here we are going to see 5 mathematical functions which are common in use and are very useful to PHP programmers.

How to:Find duplicate words in a string[PHP]

January 2, 2011

Thumbnail image for How to:Find duplicate words in a string[PHP]

We can find duplicate words in a string through Wordstats() in PHP.In following code , first i have compressed multiple spaces into string and then decomposed the sentence into words with explode().