Access 401 authentication with Curl

When we implement Curl for an URL where 401 authentication is made (The pop-up for username and password when we access that url through browser), we can pass the username and password parameter along with the calling URL. For example: for your url, www.abc.com to by pass authentication in one go, we can use, http://username:password@www.abc.c [...]

0 Comments , , , ,

Facebook Graph API for PHP

Like the old REST API, you don’t need to add 2-3 files for Facebook PHP SDK. The new graph api comes in a single file which is located at http://github.com/facebook/php-sdk/ Copy the facebook.php file in to your webroot and include this file in your php code. require_once(‘facebook.php’); To work fully functional, you need CURL and [...]

3 Comments , , , , , , , , , , , , , , ,

PHP post without curl

You can simulate the post method using php without the help of curl library. download full source code: See the code below: Download the full source code from post_without_curl.zip Share

9 Comments , , , ,