Advertisement
Guest User

Untitled

a guest
Jul 28th, 2017
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.27 KB | None | 0 0
  1.             <pre class="brush: <?php echo strtolower($lang); ?>">
  2.                 <?php
  3.                
  4.                     $file = "txt/" . get_post_meta($post_id, "filename", true) . ".txt";
  5.                     $f = fopen($file, "r");
  6.                      
  7.                     while($line = fgets($f, filesize($file))) { echo $line; }
  8.  
  9.                 ?>
  10.             </pre>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement