Top Left Text cha

Web & App Development

<?php
   $search-string = "derpity derp";
   $arr = array("http://site1.com", "http://site2.com", "http://etc.com");
   foreach ($arr as $site) {
      $contents = file_get_contents($site);
      if ( strpos($contents, $search-string) !== false ) {
         echo "$site - code found.<br />';
      }
   }
   unset($site); 
?>

Add comment


Security code
Refresh

  • No comments found

Leave your comments

Post comment as a guest

0
Your comments are subjected to administrator's moderation.
X