ID: 10253 Updated by: sniper Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Bogus Bug Type: Filesystem function related Assigned To: Comments: 1. Read the manual page for filesize() at http://www.php.net/filesize (hint: It wants a filename as parameter) 2. If this was just buggy example script and you can reproduce whatever happens with latest CVS snapshot from http://snaps.php.net/ then reopen this bug report. --Jani Previous Comments: --------------------------------------------------------------------------- [2001-04-09 17:16:29] [EMAIL PROTECTED] <? $fp=fopen ("/usr/local/apache/htdocs/sales.nationalonline.ca/test/test.file", "r+"); print $fp; if (!$fp) print "error"; else $rt=filesize($fp); print $rt; print "blue:"; ?> Resource id #1blue: --------------------------------------------------------------------------- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=10253&edit=2 -- PHP Development 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]