File read by char

Sun Oct 26, 2008 8:19 pm

<html>
Code:
<head>
<title></title>
</head>
<body>
<?php
$filename 
"test.txt";

$fp fopen$filename"r" ) or die("Couldn't open $filename");
while ( ! 
feof$fp ) ){
   
$mychar fgetc$fp );
   print 
"$mychar<BR>";
}
?>
</body>
</html>




  Related Posts  to : File read by char
 casting to char + end of file     -  
 convert char*(number) to required unsigned char*     -  
 read from file in C++     -  
 Read csv file     -  
 Read Binary File in C++     -  
 read file in matlab     -  
 Read and Write to file using ASP     -  
 javascript read file     -  
 Read and write CSV file     -  
 File write read     -  

Topic Tags

PHP Files and I/O