Re: fopen question
| From: | Ross Fleming | Date: | Mon, 22 Oct 2001 16:00:19 +0000 |
| Subject: | Re: fopen question | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-9959@lists.php.net to get a copy of this message | ||
Yeah just assign different variables for each filename.
ie
$in = fopen("whatever/input.txt");
$out = fopen("whatever/output.txt");
fopen simply returns the pointer to the file you've opened. So you assign
it to a variable.
Ross
Brad Harriger wrote:
> Is it possible to have more than one file open at a time using fopen?
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net
> For additional commands, e-mail: php-windows-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net