Re: Read a file of string into what?
- From: "Dale" <dale.drinkard@xxxxxxxxx>
- Date: 5 Jun 2005 07:12:26 -0700
I think you mean this:
$handle = fopen("filename","rt"); // where filename is a file on the
server
$contents = "";
while (!feof($handle))
$contents .= fgets($handle);
fclose($handle)
?>
<textarea name="textinputform" cols="30" rows="5"><?php echo $contents;
?></textarea>
assuming you know all about forms.
.
- References:
- Read a file of string into what?
- From: Konan
- Read a file of string into what?
- Prev by Date: Create and Dispose dynamic content
- Next by Date: exec, passthru disabled so how to call C++ .exe file?
- Previous by thread: Re: Read a file of string into what?
- Next by thread: Selecting the next language
- Index(es):