Advertisement
Guest User

Untitled

a guest
Dec 22nd, 2012
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.25 KB | None | 0 0
  1. <?php
  2. $myFile = "1.txt";
  3. $fh = fopen($myFile, 'r');
  4. $theData = fread($fh, filesize($myFile));
  5. fclose($fh);
  6.  
  7.  
  8. if (preg_match("/\(Non-Privileged\)\.pst(.*?)-----Original Message-----/s", $theData, $matches1))
  9. {
  10.     echo $matches1[1]."<br />";
  11. }
  12.  
  13. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement