Monday, January 17, 2011

want to kno abt ORKUT BUYUKKOTEN

A guy lost his girlfriend ...so he planned for the software where he can find his gf ....and after losing millions of dollars after 3 long years got succeeded and It was time to shut down the search operation, when the CEO of Google had a word with this guy and took over this application, and tht application made a profit 1 billion in its first year which we today known as ORKUT


As per the statisticians ORKUT BUYUKKOTEN today has 13 assistants to monitor his scrapbook & 8 to monitor his friends-list. He gets around 20,000 friend-requests a day & about 85,000 scraps!!!


Other Facts About this guy 


he gets 12$ fro google per user registration 
200$ for each photograph we uploaded on orkut
and may more....is liyay to kahtye hain an idea can change ur life.....what an idea sir jii..
moral ::lose ur gf and make crores 

Monday, January 3, 2011

Record terror cover sought for World Cup

Mumbai: The fear of terror has begun to take a toll on the 2011 ICC World Cup.International sports broadcaster ESPN has sought a record Rs 600-crore terror and weather insurance cover for the Cup,which begins on February 19.This is three times the Rs 200-crore cover for the Commonwealth Games in Delhi.
State-owned New India Assurance and General Insurance Corporation (GIC Re) are reliably learnt to have been approached for insurance support.The stakes for the broadcaster are very high because the matches are being held in a region thats prone to terror attacks.Also,India has been in much better form than in the 2007 World Cup and is expected to make it to the final stages.Add to that the fact the World Cup is,for the first time,being broadcast in high definition and will be available through mobile streaming.
According to top insurance industry officials,the cost of cover is expected to be in the region of Rs 7.5-8 crore.This involves only the broadcasters interests,which is the loss it will incur in advertising revenue should a match be cancelled.The overall cost of insuring the event would be higher if one were to take into account the premium to be paid by the organizers in each country and by individual sponsors.
Clearly,ESPN does not want to take any chances after the losses it suffered when the 26/11 terror strikes in Mumbai led to the cancellation of the Champions League.


References....TOI

Friday, December 31, 2010

Block or remove pages using a robots.txt file


robots.txt file restricts access to your site by search engine robots that crawl the web. These bots are automated, and before they access pages of a site, they check to see if a robots.txt file exists that prevents them from accessing certain pages. (All respectable robots will respect the directives in a robots.txt file, although some may interpret them differently. However, a robots.txt is not enforceable, and some spammers and other troublemakers may ignore it. For this reason, we recommend password protecting confidential information.)
You need a robots.txt file only if your site includes content that you don't want search engines to index. If you want search engines to index everything in your site, you don't need a robots.txt file (not even an empty one).
While Google won't crawl or index the content of pages blocked by robots.txt, we may still index the URLs if we find them on other pages on the web. As a result, the URL of the page and, potentially, other publicly available information such as anchor text in links to the site, or the title from the Open Directory Project (www.dmoz.org), can appear in Google search results.
In order to use a robots.txt file, you'll need to have access to the root of your domain (if you're not sure, check with your web hoster). If you don't have access to the root of a domain, you can restrict access using the robots meta tag.

Saturday, December 25, 2010

download pdf document from html websites

From past 3 to 4 days i am reading out the forumns regarding download file of various types from the website and found number of the post regarding the pdf file download link in the website so i have come up with an intresting snippet in php which will solve the issue very easily ..... belive me javascript alone is not the solution for this  so i am mentioning some php snippet for the above task

<?php

// place this code inside a php file and call it f.e. "download.php"
$path = $_SERVER['DOCUMENT_ROOT']."/download/"; // change the path to fit your websites document structure
$fullPath = $path.$_GET['download_file'];

if ($fd = fopen ($fullPath, "r")) {
    $fsize = filesize($fullPath);
    $path_parts = pathinfo($fullPath);
    $ext = strtolower($path_parts["extension"]);
    switch ($ext) {
        case "pdf":
        header("Content-type: application/pdf"); // add here more headers for diff. extensions
        header("Content-Disposition: attachment; filename=\"".$path_parts["basename"]."\""); // use 'attachment' to force a download
        break;
        default;
        header("Content-type: application/octet-stream");
        header("Content-Disposition: filename=\"".$path_parts["basename"]."\"");
    }
    header("Content-length: $fsize");
    header("Cache-control: private"); //use this to open files directly
    while(!feof($fd)) {
        $buffer = fread($fd, 2048);
        echo $buffer;
    }
}
fclose ($fd);
exit;
// example: place this kind of link into the document where the file download is offered:
// <a href="download.php?download_file=some_file.pdf">Download here</a>
?>

 enjoyyyyyyyyyyy.........