Reply to Re: max_execution_time and fork

Your name:

Reply:


Posted by shimmyshack on 04/28/07 13:24

On Apr 28, 2:00 pm, sandy <relativ...@isrelative.com> wrote:
> shimmyshack wrote:
>
> > you could obtain a list of the jobs (or folders) to be processed, put
> > it in a session, then use an iframe within a main page.
> > the main page loads the iframe and a javascript function which can
> > refresh the iframe.
> > the iframe finishes calls processjob.php which completes job1
> > job1 is removed from the array
> > the php script outputs <script>parent.refreshIframe()</script> to the
> > iframe
> > the iframe reloads and starts the next job
>
> I like that idea. I'll try it.
> The best idea would be to get a co-located machine,
> or a virtual one, so I control server. In the
> meantime that sounds like a workable hack. Thank you.

i like circumventing the resitrictions placed on a shared host, it's
cheaper!
although the above approach is jobs of unit size "folder"
you could have a more fine grained approach where you list every job,
using a database, the iframes would be included in each webapge
provided there are jobs to do, the visitors then start a job if there
are any. Provided you have low volume usage / record the last job
start time in the db, this would be a great "cron" emulator which
might be something else your shared service doesnt allow access to.

[Back to original 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

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