file reading.
[email protected] ("phper") Mon, 26 Aug 2002 21:29:14 -0700
| Newsgroups | php.lang |
|---|---|
| Message-ID | <[email protected]> |
how do I read the contents of a file.
$FileStream = fopen("webmaster/forum".$Forum."/forumtopics.txt", "w+");
$line = fgetss ($FileStream, 255);
print ("number is: ".$line."<br>");
fclose($FileStream);
always returns nothing.