Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on May 2nd, 2012  |  syntax: None  |  size: 0.66 KB  |  hits: 17  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. <?php
  2. $get = new get();
  3. while (true) {
  4.   $get->getName();
  5. }
  6. class get {
  7. public function __construct() {
  8. usleep(0);
  9. $this->getName();  
  10. }
  11.          public function getName() {
  12.                 $url = file_get_contents("/home/connor/index.html?pm=full");
  13.                 $name = explode('<a href="?"', $url);
  14.                 foreach($name as $url) {
  15.                         $n  = $this->stribet($url, 'pm=', '">');
  16.                                 echo($n."\n");
  17.                         }
  18.                 }
  19.                 public function stribet($inputstr, $deliLeft, $deliRight) {
  20.                 usleep(0);
  21.                   $posLeft  = stripos($inputstr, $deliLeft) + strlen($deliLeft);
  22.                   $posRight = stripos($inputstr, $deliRight, $posLeft);
  23.                   return substr($inputstr, $posLeft, $posRight - $posLeft);
  24.                 }
  25.      
  26.  
  27.  
  28.  }