Advertisement
enissay

Enissay

Sep 4th, 2014
296
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $handle = fopen("neg.txt", "r");
  2. if ($handle) {
  3.     while (($line = fgets($handle)) !== false) {
  4.         //....
  5.     }
  6. } else {
  7.     echo "/!\\ Couldn't open $filename /!\\", getcwd();
  8. }
  9. fclose($handle);
Advertisement
RAW Paste Data Copied
Advertisement