i've got a problem with memory. it goes like this
-memory limit is set to 8M
-i've got mail service written in PHP
-i've got PHP 4.0.4 and appache web server
i read mail from mail program using fgets command: fgets($fp,1024) and after tha
t i put each line to file
-and each time when message is bigger than 8M
i receive error message:
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 8
192 bytes) in line where the fgets is used
-i suppose that php tryes to keep whole message in memory and i don't know how c
ould i change it
thx
pawel