Advertisement
szabozoltan69

Untitled

Nov 22nd, 2012
296
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.20 KB | None | 0 0
  1. $handle = @fopen("fajlom","r");
  2. if ($handle) {while (($buffer = fgets($handle)) !== false) {
  3.  
  4.  
  5.  echo $buffer;
  6.  
  7.  
  8. } if (!feof($handle)) {echo "Hiba: varatan fgets() problema.\n";}} fclose($handle);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement