The Best Web Search Engines List

There are so many search engines available on Internet.
Most of the users want only a single search engine that delivers basic key features as

 

  • Relevant results (results you are actually interested in)
  • Uncluttered, easy to read interface
  • Helpful options to broaden or tighten a search
  • Quick response (less time consuming)

I prefer Google.Google is fast, relevant, and the largest single catalog of Web pages available today
Below are some other Search engines available, these are also used very much by the people.

bing
http://www.bing.com/
Alexa Rank : 27
Estimated Unique Monthly Visitors : 165,000,000

yahoo
http://www.yahoo.com/
Alexa Rank : 4
Estimated Unique Monthly Visitors : 160,000,000

ask
http://www.ask.com/
Alexa Rank : 52
Estimated Unique Monthly Visitors : 125,000,000

aol
http://search.aol.com/
Alexa Rank : 64
Estimated Unique Monthly Visitors : 33,000,000

MyWebSearch
http://mywebsearch.com/
Alexa Rank : 118
Estimated Unique Monthly Visitors : 19,000,000

Lycos
http://www.lycos.com/
Alexa Rank : 1640
Estimated Unique Monthly Visitors : 4,300,000

Dogpile
http://www.dogpile.com/
Alexa Rank : 3617
Estimated Unique Monthly Visitors : 2,900,000

WebCrawler
http://www.webcrawler.com/
Alexa Rank : 6358
Estimated Unique Monthly Visitors : 2,700,000

info
http://www.info.com/
Alexa Rank : 3038
Estimated Unique Monthly Visitors : 2,600,000

infospace
http://www.infospace.com/
Alexa Rank : 1862
Estimated Unique Monthly Visitors : 2,000,000

search
http://www.search.com/
Alexa Rank : 5903
Estimated Unique Monthly Visitors : 1,450,000

excite
http://www.excite.com/
Alexa Rank : 4422
Estimated Unique Monthly Visitors : 1,150,000

altavista
http://www.altavista.com/
Alexa Rank : 7676
Estimated Unique Monthly Visitors : 700,000

 

Note : All the above data related to search engines have collected on dated 03/31/2012.

 

Just 3 simple steps to go with jQuery FancyBox

Download the latest jQuery FancyBox package by jQuery FancyBox Website

 

1. Set the headers
The first thing to do is include the required files in the header of your page.
For the FancyBox, first the jQuery library, then the plugin script, and an additional style sheet files.

 

[code]
/* Include jQuery – try to use latest version */
<script type="text/javascript" src="your_path_to/jquery.js"></script>

/* jQuery fancybox plugin */
<script type="text/javascript" src="your_path_to/jquery-fancybox.js"></script>

/* Additional Style for fancybox */
<link href="your_path_to/fancybox.css" rel="stylesheet" type="text/css" />
[/code]

 

2. Next step is to declare how and when the FancyBox will be displayed on your page.The below code tells that every link that has a class fancy box will have its content opened in a fancy box.

It can be added in the page header (as below) or in a separate (.js) file.

 

[code]

<script type="text/javascript">

$(document).ready(function(){
$(".fancybox").fancybox();
});

</script>

[/code]

 

3. Finally, you just need to create a link whose class will have to be fancy box (as you have declared in fancybox function) and whose href attribute will need to contain the path of the page/element you wish to open within the fancy box.

[code]

<a href="page_target_path" class="fancybox">How’s it!!</a>

[/code]

jQuery FancyBox Plugin & fancyBox default options

FancyBox is so easy to use and renders page really nice, specially with images, html content and multi-media (video embedding). It’s a Mac like zooming tool that you can customize very well and really looks amazing 🙂

 

Below are the default options of jQuery fancybox function, user can easily set the options value according to his need.

 

 fancyBox default options

 

[css autolinks=”false” classname=”myclass” firstline=”1″]

$(".fancybox").fancybox({

padding : 10,
margin : 40,
opacity : false,
modal : false,
cyclic : false,
scrolling : ‘auto’, // ‘auto’, ‘yes’ or ‘no’

width : 560,
height : 340,

autoScale : true,
autoDimensions : true,
centerOnScroll : false,

ajax : {},
swf : { wmode: ‘transparent’ },

hideOnOverlayClick : true,
hideOnContentClick : false,

overlayShow : true,
overlayOpacity : 0.7,
overlayColor : ‘#777’,

titleShow : true,
titlePosition : ‘float’, // ‘float’, ‘outside’, ‘inside’ or ‘over’
titleFormat : null,
titleFromAlt : false,

transitionIn : ‘fade’, // ‘elastic’, ‘fade’ or ‘none’
transitionOut : ‘fade’, // ‘elastic’, ‘fade’ or ‘none’

speedIn : 300,
speedOut : 300,

changeSpeed : 300,
changeFade : ‘fast’,

easingIn : ‘swing’,
easingOut : ‘swing’,

showCloseButton : true,
showNavArrows : true,
enableEscapeButton : true,
enableKeyboardNav : true,

onStart : function(){},
onCancel : function(){},
onComplete : function(){},
onCleanup : function(){},
onClosed : function(){},
onError : function(){}

});

[/css]

jQuery datepicker to show month and year only

jquery datepicker to show month year only

 

jQuery has very nice Date Picker library, but it can’t be customized to remove the date part, i.e. to show month and year only.
In some cases, you only need that the user selects the month and year mm/yyyy (month/year) as input without the day (like in credit card expiry date).Below is the code to show only the header of date picker with month and year selects(date will not show any more).

 

If you use this one, you have partially done but it create some confusion to user as it shows date as well and user have to select a date whereas it use only month and date.

 

[code lang=”js”]
$("#datepicker").datepicker({dateFormat: "mm/yy" });
[/code]

For removing this confusion and hiding the date section completely, you can use the below code.

[code lang=”js”]
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.1/jquery.js"></script>

<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/jquery-ui.min.js"></script>

<link rel="stylesheet" type="text/css" media="screen" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/themes/base/jquery-ui.css">

<script type="text/javascript">
$(function() {
$(‘#expiryDate’).datepicker( {
changeMonth: true,
changeYear: true,
showButtonPanel: true,
dateFormat: ‘mm/yy’,
minDate:’m’, // restrict to show month greater than current month
onClose: function(dateText, inst) {
// set the date accordingly
var month = $("#ui-datepicker-div .ui-datepicker-month :selected").val();
var year = $("#ui-datepicker-div .ui-datepicker-year :selected").val();
$(this).datepicker(‘setDate’, new Date(year, month, 1));
},
beforeShow : function(input, inst) {
if ((datestr = $(this).val()).length > 0) {
year = datestr.substring(datestr.length-4, datestr.length);
month = jQuery.inArray(datestr.substring(0, datestr.length-5), $(this).datepicker(‘option’, ‘monthNames’));
$(this).datepicker(‘option’, ‘defaultDate’, new Date(year, month, 1));
$(this).datepicker(‘setDate’, new Date(year, month, 1));
}
}
});
});
</script>

<style type="text/css">.ui-datepicker-calendar { display: none; }</style>

<label for="expiryDate">Expiry Date:</label>
<input name="cc_expiryDate" id="expiryDate" class="date-picker" /> (mm/yyyy)
[/code]

It will show calendar likes this.

jQuery datepicker show month and year only

jQuery datepicker show month and year only

PHP script for convert video format to flv(flash) format file

Convert any video format to .flv format using php script

Developers often need to convert/encode files from any video format to FLV (flash format) using FFMPEG & PHP.

 

As this is the most commonly requested feature that is asked of web developers is to convert existing video’s to another format. As flash has found its home in providing players, it has become most common to convert video’s into flash video’s. The ffmpeg library can convert most any existing video format, to any other format.

 

Convert video file to flv in php

 

In PHP, the ffmpeg library is typically called using the exec() or system() functions. This provides the fastest method of video conversion without reading the whole video, or multiple video’s into memory.

 

FFMPEG is a PHP extension that is used to convert audio, video and images from one format to another one and also supports grabbing and encoding in real time from a TV card.

 

For execution of conversion script successfully, you must have ffmpeg extension loaded in your php. You can check this by the below code.

 

[php]

<?php

if(extension_loaded(‘ffmpeg’)){
echo ‘Loaded ffmpeg’;
}else{
echo ‘Failed loading ffmpeg’;
}

?>

[/php]

 

 

You can also check this by viewing phpinfo();

Download the full (video file format conversion) code by the link below.

 

video-flv-convertor.zip

 

Convert HTML to PDF using PHP code

Convert HTML to PDF using PHP code (HTML2FPDF Class library)

In web development, you often need to create PDF (Portable Document Format) to view or download/ print a document.

 

Here is a simple class that will provide you a simple way to do create PDF.HTML2FPDF Class library consist of three classes namely PDF, HTML2FPDF and FPDF (modified FPDF class). The class PDF extends the class HTML2FPDF that extends the class FPDF.

 

Convert a sample html page into a PDF file using HTML2FPDF Library by following below simple steps.

[php]

<?php
require(‘html2fpdf.php’);
$pdf=new HTML2FPDF();

$pdf->AddPage();
$fp = fopen("scriptarticle-sample.html","r");
$strContent = fread($fp, filesize("scriptarticle-sample.html"));
fclose($fp);

$pdf->WriteHTML($strContent);
$pdf->Output("sample.pdf");
echo "PDF file has been generated successfully!";

?>

[/php]

 

The HTML2FPDF class library will work best with the XHTML 1.0.
Download the full code by the link below.

html2pdf-generator.zip