You are here: Re: Dealing with maximum execution time « PHP Language « IT news, forums, messages
Re: Dealing with maximum execution time

Posted by Anze on 09/30/99 11:27

Hi!

I have successfully implemented the idea with the list of the stuff to do
and JS redirect to the same script over and over again. It is dirty, but
there is just no other way if you have a provider that not only sets
set_time_limit() but also has a process that watches for httpd's that are
alive for too long and kills them. I used it for sending out a newsletter
and I'll use it again shortly for importing some huge XML to database.

It is annoying, but sometimes there is no better way. PHP has no way of
telling the system "this script is special and should never be killed".
Administrators have to watch their backs too...

And yes, the trick works perfectly - but you must be very careful. It is
very easy to make mistakes and virtually impossible to test properly. Log
is your friend. :)

Regards,

Anze

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация