/[pliva-si]/inc/read_file.inc
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Contents of /inc/read_file.inc

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations)
Mon Nov 19 11:20:40 2001 UTC (22 years, 5 months ago) by dpavlin
Branch: MAIN
CVS Tags: HEAD
file function has a bug?

1 <?php
2
3 function read_file($filename) {
4 $fd = fopen( $filename, "r" );
5 $out = fread( $fd, filesize( $filename ) );
6 fclose( $fd );
7 return $out;
8 }
9
10 ?>

  ViewVC Help
Powered by ViewVC 1.1.26