Be a Supporter!

Attention liljim

  • 552 Views
  • 4 Replies
New Topic Respond to this Topic
Kyser-Soze
Kyser-Soze
  • Member since: Sep. 12, 2001
  • Offline.
Forum Stats
Member
Level 08
Blank Slate
Attention liljim 2001-11-18 12:20:27 Reply

For the brief time I have been reading the programming forum's i have seen that you (and several others) are experienced in PHP programming. I am recurringly getting the same error...maybe you could help?

I get this error whenever trying to open a remote file with the fopen() function and then trying to read it with the read() function. The warning is: "Warning: Supplied argument is not a valid File-Handle resource in /home/terrydig/terrydignon-www/news-input.php on line 10". This apparently means that the method I used for opening the file is wrong, though I have checked and double-checked and have found nothing wrong.

If it is necessary, I can give you the source. Thanks for your help!

liljim
liljim
  • Member since: Dec. 16, 1999
  • Offline.
Forum Stats
Staff
Level 28
Blank Slate
Response to Attention liljim 2001-11-18 14:05:55 Reply

At 11/18/01 12:20 PM, Kyser_Soze wrote: For the brief time I have been reading the programming forum's i have seen that you (and several others) are experienced in PHP programming. I am recurringly getting the same error...maybe you could help?

I get this error whenever trying to open a remote file with the fopen() function and then trying to read it with the read() function. The warning is: "Warning: Supplied argument is not a valid File-Handle resource in /home/terrydig/terrydignon-www/news-input.php on line 10". This apparently means that the method I used for opening the file is wrong, though I have checked and double-checked and have found nothing wrong.

If it is necessary, I can give you the source. Thanks for your help!

Maybe you're looking for fread() ? Mail me the source.

Kyser-Soze
Kyser-Soze
  • Member since: Sep. 12, 2001
  • Offline.
Forum Stats
Member
Level 08
Blank Slate
Response to Attention liljim 2001-11-18 14:59:52 Reply

At 11/18/01 02:05 PM, liljim wrote: Maybe you're looking for fread() ? Mail me the source.

I dont believe it's a problem with the read because of the type of error I recieve. May I have your email address, and possibly an instant messanging username? Once again, thanks.

liljim
liljim
  • Member since: Dec. 16, 1999
  • Offline.
Forum Stats
Staff
Level 28
Blank Slate
Response to Attention liljim 2001-11-18 18:09:55 Reply

At 11/18/01 02:59 PM, Kyser_Soze wrote:
At 11/18/01 02:05 PM, liljim wrote: Maybe you're looking for fread() ? Mail me the source.
I dont believe it's a problem with the read because of the type of error I recieve. May I have your email address, and possibly an instant messanging username? Once again, thanks.

The "email author" button isn't enough for you? :P

Kyser-Soze
Kyser-Soze
  • Member since: Sep. 12, 2001
  • Offline.
Forum Stats
Member
Level 08
Blank Slate
Response to Attention liljim 2001-11-18 19:50:17 Reply

At 11/18/01 06:09 PM, liljim wrote: The "email author" button isn't enough for you? :P

Ah, silly me. I certaintly deserve a flame for that! =)