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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]


-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to