06.04.2009, 22:01
Hi.
I tried to create an simple script, which need to count some words from some files.
This is the script: http://pastebin.com/m41daf48a
I used the 'print' & 'printf' functions locate the problem.
By the check, the problem was with fread.
It's print the numbers, and after it arrive to 5 - the server get crashed.
Thanks for helpers.
I tried to create an simple script, which need to count some words from some files.
This is the script: http://pastebin.com/m41daf48a
I used the 'print' & 'printf' functions locate the problem.
By the check, the problem was with fread.
It's print the numbers, and after it arrive to 5 - the server get crashed.
Thanks for helpers.