readfile() problems
| From: | Matt Greene | Date: | Sat, 04 Dec 1999 03:56:09 +0000 |
| Subject: | readfile() problems | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-7378@lists.php.net to get a copy of this message | ||
In this peice of script i am using readfile to read the file, but whenever
it puts it into the textarea it also adds it's filesize of the file im
opening to the end of it? How can i get it to not put the file size at the
end?
echo "<form action=\"galleryadmin.php3?page=$page\"
method=\"POST\">";
echo "<textarea rows='20' name='test' cols='50'>";
echo $file = readfile($imall);
echo "</textarea>";
echo "<input type='hidden' name='page' value=$imall>";
echo "<INPUT type=\"submit\" NAME=\"submitButton\"
VALUE=\"done\">";
echo "</form>";