Connecting Tech Pros Worldwide Forums | Help | Site Map

Max. file size in fopen

pradeep
Guest
 
Posts: n/a
#1: Oct 17 '07
Hello all,

Can you tell me maximum size of file taken by fopen() ?

Thanks in advance.

--Pradeep


Rik Wasmus
Guest
 
Posts: n/a
#2: Oct 17 '07

re: Max. file size in fopen


On Wed, 17 Oct 2007 10:40:50 +0200, pradeep <pwpradeep@gmail.comwrote:
Quote:
Can you tell me maximum size of file taken by fopen() ?
AFAIK this is not limited by the function itself. For reading other
settings, like memory limits etc. come into play. I've never tried to open
an X-GB file with PHP though.
--
Rik Wasmus
AnrDaemon
Guest
 
Posts: n/a
#3: Oct 17 '07

re: Max. file size in fopen


Greetings, pradeep.
In reply to Your message dated Wednesday, October 17, 2007, 12:40:50,

pCan you tell me maximum size of file taken by fopen() ?

2Gb on 32-bit filesystem, most likely.
It may be 4Gb but I have problem operating with values greather that 2Gb in
PHP, it always falling under zero :-\


--
Sincerely Yours, AnrDaemon <anrdaemon@freemail.ru>

Closed Thread