> > Warning: Wrong parameter count for fgets() in
> I had this error on of my scripts, any ideas on this part?

Well, I typed "fgets" into the "search for" field on a page at php.net,
left the "in the" field set to "function list", and clicked the little
non-descript arrow to the right of that, and I found this:

    http://www.php.net/manual/en/function.fgets.php

From what it says on that page, I would guess that less than one or
greater than two would be a wrong count.

I note that the first argument would appear to be the file pointer fopen
would return. The second is explained to be an optional limit to the
number of bytes to be read.

> How come this error occur?

My guess is that you tried to pass fgets either the wrong number or the
wrong type of arguments.

-- 
Joel Rees, programmer, Kansai Systems Group
Altech Corporation (Alpsgiken), Osaka, Japan
http://www.alpsgiken.co.jp


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to