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 […]
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 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 […]
Many of you might have seen this in Facebook, there is an option to to view the photo in the full-screen. You can do the same thing with BigScreen JS. There are many features in JS which are listed down, It can be done for a particular HTML Element in the web page It can also […]
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 :
// We initialize a layer object which has the norway picture as a background
// This layer will have the width and the height of the picture
$norwayLayer = new ImageWorkshop(
"imageFromPath" => "/path/to/images/norway.jpg"
// We initialize another layer object which has the watermark as a background
$watermarkLayer = new ImageWorkshop(
"imageFromPath" => "/path/to/images/watermark.png"
// Initialization of a document layer without specifying the path to an image.
// It will have a transparent background, we need to specify its width and height
$documentLayer = new ImageWorkshop(array(
"width" => $norwayLayer->getWidth(), // Same width than $norwayLayer
"height" => $norwayLayer->getHeight(), // Same height than $norwayLayer
// Now, we will add the picture layer in the document stack (of sublayers)
// We place $norwayLayer at the level 1 (just on the document background top)
// $watermarkLayer must be on the top of $norwayLayer background (so level 2) !
// We choose the position from the document borders:
// 12pixels from Left, 12pixels from Bottom ("LB") for example
$documentLayer->addLayer(2, $watermarkLayer, 12, 12, "LB");
Requirement :- PHP with GD library Demo & Download :- http://phpimageworkshop.com/ License :- GPL License
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 […]
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 […]
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 […]
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 […]