is $file the result of a fopen?
----- Original Message -----
From: "Wilmar Pérez" <[EMAIL PROTECTED]>
To: "PHP List" <[EMAIL PROTECTED]>
Sent: Monday, August 06, 2001 5:31 PM
Subject: [PHP-DB] Valid resource
> Hi guys.
>
> I'm getting the following error and have no idea what the hell it means:
> **********************************************************************
> Warning: Supplied argument is not a valid File-Handle resource in
common.php
> on line 425
>
> Warning: Supplied argument is not a valid File-Handle resource in
common.php
> on line 426
>
> Warning: Supplied argument is not a valid File-Handle resource in
common.php
> on line 427
> **********************************************************************
>
> the mentioned lines are:
>
> **********************************************************************
> fputs ( $file, "</channel>\n");
> fputs ( $file, "</rss>\n");
> fclose( $file );
> **********************************************************************
>
> I guess many of you will ask for the full common.php file, as it is quite
a
> long one I will send it at request.
>
> Any help will be highly appreciated!
>
> Thanks
> -----------------------------------------------
> Wilmar Pérez
> IT Manager - Central Library
> University of Antioquia
> Medellín - Colombia
> tel: ++57(4)2105145
> -----------------------------------------------
>
>
> --
> PHP Database 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 Database 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]