Posts tagged ‘php’

Php function to search images from google and bing

The following php function will return an array(0-10) of image URLs.


<?php
/* Returns 10 image URLs array */
function images_search($se, $kw){
 $icount=0;
 $image =array();
 if($se=="Bing"){
 $imgs = 'http://www.bing.com/images/search?q='.urlencode(trim($kw));
 $imgs = file_get_contents($imgs);
 preg_match_all("/<span class="md_mu">(.*?)</span>/is", $imgs, $imgu, PREG_PATTERN_ORDER);

 shuffle($imgu[1]);
 $iv = array_values($imgu[1]);

 for($j=0; $j < count($iv);$j++)
 if(strpos($iv[$j],'"')>-1 || strpos($iv[$j],'""')>-1) continue;
 elseif(@fclose(@fopen($iv[$j], "r"))){  
 $image[$icount]=$iv[$j];
 $icount++;
 if($icount==10)
 break;
 }
 }else{
 $start=rand(0,9)*20+1;
 $imgs= 'http://images.google.com/images?gbv=2&hl=en&q='.urlencode(trim($kw)).'&sa=N&start='.$start.'&ndsp=30';
 $imgs = file_get_contents($imgs);
 preg_match_all("/x3dhttp:(.*?).jpg/is", $imgs, $imgu, PREG_PATTERN_ORDER);

 shuffle($imgu[1]);
 $iv = array_values($imgu[1]);

 for($j=0;$j<count($iv);$j++)
 if(strpos($iv[$j],'"')>-1 || strpos($iv[$j],'""')>-1) continue;
 elseif(@fclose(@fopen('http:'.$iv[$j].'.jpg', "r"))){  
 $image[$icount]='http:'.$iv[$j].'.jpg';
 $icount++;
 if($icount==10)
 break;     
 }
 }
 return $image;
}
?>

Use this function like this:

<?php

// Call function like

$google_images = images_search('Bing', 'doctors');

// or

$bing_images = images_search('Google', 'forex');

?>

Searched By:

catchy inurl:/guestbook html?page= (7), tramadol online overnight shipping inurl:/guestbook php?id= (6), inurl:/modules php?op= make signs free (6), addresses inurl:/guestbook pl (6), inurl:/posting php?mode= interracial babies (6), harris inurl:/vb 1/member php?u= (5), inurl:/register php? build (5), 10 minute trainer inurl:/gb asp (4), between inurl:/sign php (4), inurl:/index php?action=stats provided sudoku numbers (4), inurl:/register php centralise (4), including inurl:/guestbook php?newsid= (3), inurl:/modules php?op= doing business in australia (3), inurl:/book php alligatoring (3), inurl:/register php outline (3), 1000 games shooting inurl:/add php (3), inurl:/index php nba stats news (3), munchen inurl:/register intext:upcoming intext:published intext:submit -inurl: php (3), inurl:/write asp agile (3), long inurl:/board_list php?board index= (2)

Learn PHP in Easy Steps

A pdf based ebook to teach php in easy steps using tutorials. You can learn php basics from this ebook. Download=>[ShareCash]

PHP Script to Auto Post to Blogger Blogs

A very useful php script to automate the blogger blogs. You can easily set it up and can manage as many blogs as you want. This script pulls full content from rss feeds and post to the set blogs.
Download Here

Searched By:

Auto post to Blogger with PHP (5), autopost-to-blogger-blogs-with-php (3), auto post to blogger php (3), inurl: autopost@blogger com (2), script auto rss to facebook (1), php blogspot poster (1), php post blogger (1), php post to blogger (1), php script post blogger (1), php script post blogger com (1), script autopost blogger (1), post to blogger from rss (1), rss blogger php poster (1), auto blog posts cript (1), php autopost blogspot (1), facebook autopost script (1), auto post on blogger PHP script (1), auto post to blogger blogs with php (1), auto script blogger blogspot (1), automatic free backlinks easy php script (1)

Automatic Free Backlinks Easy PHP Script

If you understand the  importance of back links then this script is really for you. You can easily run a free back links business to offer free back links and in back get more back links to your site.

You visitors just need to insert a simple banner code into their site or blog and the work done. Every time anyone click on banner, the link of your client will be added to your home. This link can also show link statistics if anyone click on “Stats” link.

Requirement: PHP, mySQl

Live Demo: Click Here

Price: $7.00

Searched By:

auto backlink generator script (4), free backlink generator (3), free backlink creator php script (1), free backlink directory script (1), free backlink php script (1), free script for auto backlinks (1), php auto backlink script (1), php code backlink mysql (1), script auto backlink (1), script php create auto backlink (1), vb6 backlinks generator (1), wordpress auto comment script backlink generator (1), free automatic backlinks (1), free auto backlinks script (1), fre backlink aoto comen (1), auto backlink javascript (1), Automatic Backlink Creator free download (1), automatischer backlink generator *script* (1), backlink generator php code/mysql (1), backlink maker script (1)

PayPal AlertPay LibertyReserve IPN Easy Digital Store Php Script

Easy Digital Store Script can be used to setup an easy digital store with three ipn payment systems. The script has the following features:

  1. Easy to install.
  2. Easy to use.
  3. Three ipn payments: paypal, alertpay and libertyreserve.
  4. Easy admin cPanel.
  5. Sends encrypted download links to buyer emails.
  6. Download links expire after a fix time.
  7. Auto create rss feeds.
  8. Auto create google sitemap.
  9. Create permalinks for better search engine indexing.
  10. Visitor can easily download if product is free.
  11. News widget for important information.
  12. Western Union handling option.
  13. Shopping cart.
  14. You can sell both manual and instant download products.

Demo: Click Here
cPanel: cPanel
Username: admin
Password: admin

Price: $35.00

Searched By:

shopping php?id= (14), inurl:/showthread php (8), fqn inurl:/memberlist php?mode= (5), inurl:_buy php?bed= (4), inurl:store php?id= (4), inurl:/showthread php?t= buttering (3), inurl:/register/ Account Details (3), liberty reserve ipn script (3), dneb inurl:/profile php?mode= (3), Digital Store Script (3), supplies inurl:/signup php (3), romero inurl:/forums/memberlist php?mode= (3), complete inurl:/submit asp (2), inurl:/portal php intitle:forum education research methods (2), liberty reserve ipn (2), inurl:_print php?hop= (2), Three ipn payments: paypal, alertpay and libertyreserve Easy admin cPanel (2), inurl:_forum_show php?subject= (1), inurl:_articles php?homeid= (1), inurl:_forum_show php?flash= (1)