Takze dalsie novinky .... zistil som ze pri suboroch nad 1 MB to stale vypisuje aj tu SQL chybu (ale nie pri vsetkych).
Niekde to hodi warningy. Ale subor vacsi ako 1 MB tam nedostanem ... (ani obrazok).
Nasiel som na jednej stranke toto:
On systems running PHP which differentiate between binary and text files (such as Windows), you'll need to open the file in binary mode by including b along with any other modes that you may require. To read a file on a Windows system using binary mode you'd use rb instead of the r you'd use on a UNIX-compatible system. Also, if you have "magic quotes" enabled, fread() may not function as expected (especially when dealing with a null character). PHP will automatically convert the "null" character to its escaped version \0 in the resulting input. Toggling "magic quotes" can be done by using the set_magic_quotes_runtime() and get_magic_quotes_runtime() functions whose information is available in the PHP manual.
Ak som tomu spravne pochopil, tak pri zapnutych magic_quotes to nefunguje spravne ?
Pozn.: moj server bezi na Windows