max_execution_time : max_execution_time : Development PHP Source Code


PHP Source Code » Development » max_execution_time »

 

max_execution_time




<?php

   // Give the script enough time to complete the task
   ini_set("max_execution_time",120);

   $rangeStart = 0;
   $rangeStop = 1024;

   $target = "www.navioo.com";

   $range =range($rangeStart, $rangeStop);
   echo "<p>Scan results for $target</p>";

   foreach ($range as $port) {
      $result = @fsockopen($target, $port,$errno,$errstr,1);
      if ($result
         echo "<p>Socket open at port $port</p>";
   }
?>

           
       



HTML code for linking to this page:

Follow Navioo On Twitter

PHP Source Code

 Navioo Development
» max_execution_time