Sublime directory Surf the web anonymous Pagerank Monitor


increasing which php value (ini.set)

olaf
Tue 4 September 2007, 10:36 am GMT +0200
Hi,

I have a script that has to convert/copy ~1500 small image files.
after ~1300 files the script stops working and the server is sending content to the browses.

The file I can download (my script) is empty.

which value do I have to increase?

this is what I did now:

set_time_limit(0);
ini_set('memory_limit', '64M');

anthonyw
Tue 4 September 2007, 12:17 pm GMT +0200
Are you sure that the problem is timeout related? Could there be something in the files that's causing a problem (e.g. an invalid image file)?

olaf
Tue 4 September 2007, 12:22 pm GMT +0200
Are you sure that the problem is timeout related? Could there be something in the files that's causing a problem (e.g. an invalid image file)?

must say, I'm not surprised about this because of the web hosting.

I try it now in two steps (handling 800 files twice)

first 800 files are processed without problems

Nikolas
Tue 4 September 2007, 04:04 pm GMT +0200
How do you execute this? If you are using a web page to start it, then use this directive too :

ignore_user_abort(true);

olaf
Tue 4 September 2007, 04:31 pm GMT +0200
it works fine if I process all the files in two steps

Archive for SMF v1.00 by N.P. Valid XHTML 1.0 Transitional