Posts

Showing posts from October, 2012

CURL Basics with Example

In the PHP installation libcurl provides the CURL functionality which enables the user to communicate with different types of servers with different types of protocols like : http, ftp, https, file in which http is widely used. It supports different http methods(GET,POST,PUT) while communicating or submitting information to the server. Abbreviation: Called as cURL ( Client URL or Client URL library) Enabling curl: There is a PHP curl dll extension defined in the php.ini configuration file ;extension=php_curl.dll Remove semi-colon before this and save-restart the server. Basics: curl_init - initializes the curl session eg: $request = curl_init ();   // initiate curl object curl_setopt - sets the curl transfer options like http methods and values, header, ssl, encoding etc. Some options(OPT) are as follows:- curl_setopt ($request, CURLOPT_URL, $requestUrl);   // sets the url to which curl has to communicate like : https://example.com/Portal/downloadfile.do  , http://example.com

SVN Bug Tracker with Screen View

Image
There is a common problem when a large site is built and we need to track the bugs with development on go. For those who use SVN ( i am referring here for Tortoise SVN on Windows) there is a easy implementation of bug tracker system with Tortoise SVN. Here it is :- 1 - Right Click in your repository folder 2 - Navigate to the Properties and Click. It opens a new window 3 -  Click New -> bugtraq 4 - fill %BUGID% in URL and Messsage pattern. Fill other parameters like bug id format etc. 5 - Click Ok and now your Bug tracker is on ready. Now when you commit from your repository you can see Bug Id/Issue Id box where you can fill  out  your  Bug Id that can be seen in the file Log ( in SVN Log as well). In this way you can easily determine in which bug what are the files that need to be worked on. Thanks References : 1-  http://tortoisesvn.net/docs/release/TortoiseSVN_en/tsvn-dug-bugtracker.html 2-  http://www.mantisbt.org ( web-based bugtracking