|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2001-03-06 10:26 UTC] mot at warpturbine dot net
while running php as an apache module (not cgi-mode) the filesystem functions of php fread and fpassthrough are not reading the complete file. it skips reading after a number of bytes. i'm not an apache crack that's why i can't say if this belongs to my apache distro (1.3.12) or not. but i don't think so. running in cgi-mode will avoid this problem. PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Nov 01 19:00:02 2025 UTC |
You propably missed the 'b' in your fopen() call? ie. you should use this in Windows: $fp = fopen ("/home/rasmus/file.gif", "rb"); instead of just 'r'. --Jani