Re: Valid resource
| From: | Tom Carter | Date: | Mon, 06 Aug 2001 16:30:58 +0000 |
| Subject: | Re: Valid resource | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-11098@lists.php.net to get a copy of this message | ||
is $file the result of a fopen?
----- Original Message -----
From: "Wilmar Pérez" <wilmar.perez@caribe.udea.edu.co>
To: "PHP List" <php-db@lists.php.net>
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: php-db-unsubscribe@lists.php.net
> For additional commands, e-mail: php-db-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>