How to get Apache Solr URL in Drupal 7 themes/ modules/ templates

Apache Solr Search Integration is a drupal module that provides Search API that can be used as a replacement for core content search and boasts both extra features and better performance. This module integrate Apache Solr Search Platform and Drupal. . In order to check Whether Apache Solr  is down in your server you need […]

Currency Conversion library in CodeIgniter

To understand this tutorial user must be aware of MVC (Model-View-Controller) concepts & workflows. Converting currency is pretty simple with CodeIgniter in this page we are going to see the following, How to write currency converter library How to call the library in the controller How to interact with Database and Views Important Update After […]

SSI(Server Side Include) in PHP

  • September 5, 2012
  • Code
  • SG

SSI is a Server Side Scripting Language used most commonly in many web applications. SSI will help in organizing files and templates for your application. SSI is used to include contents of another file in to a web page on the web server, similar to the include file statement we use in other server side […]

Easy & Powerful watermarking with PHP

PHP image workshop using GD library is very easy tool for manipulating the images. Main key features of this script is as follows, Cropping Filter Re sizing Rotating Writing Usage is pretty simple :

Requirement :- PHP with GD library Demo & Download :- License :- GPL License

Analog clock hour needle puzzle

Question : In an analog clock for 25 minutes duration how much does the hour hand will move ? ?? ???? …….. ??????   Answer : 12.5  degree . Explanation : Analog clock is 360 degree. For 60 minutes the hour hand will move 30 degree. So for 30 minutes the hour hand will move […]

Apple puzzle, interview question.

Question: There are 6 people sitting in a room around the table. On top of the table there is a basket with 6 apple in it. All person took one apple each but still one apple was left in the basket. How !! ?? thinking ???   still thinking ???   the answer is very […]

How to show multiple items in Paypal checkout page?

When you are working in shopping cart site with Paypal you must wonder how to show multiple items in Paypal site during checkout. Its pretty simple.  You can add / pass n number of items to Paypal page for checkout instead of 1 single item with total price, if you do so the use may […]

Percentage loader with jQuery plugin & HTML 5

jQuery.PercentageLoader is a jQuery plugin for displaying a progress widget in more visually striking way than the ubiquitous horizontal progress bar / textual counter. The plugin takes miniminal installation and is simple and flexibile to use. It makes use of HTML 5 canvas for a rich graphical appearance with only a 10kb (minified) javascript file […]

How to print/echo SQL string in Codeigniter ?

Printing a last executed SQL query in Codeigniter is pretty simple. Usually in the development phase we all will debug the database result by printing the query to see whether the SQL is returning any value or not. In Codeigniter framework we can print the last executed SQL query in single line. You can add […]