You are here: Re: serious problem need help. « PHP Programming Language « IT news, forums, messages
Re: serious problem need help.

Posted by Rik on 10/18/06 00:26

Daz wrote:
> Moot wrote:
>> Do you have access to CRON? If so, you could parse the xml upon
>> retrieval and store the paths to the images to be redimensioned in a
>> table queue. You could then have a cron script run once a minute or
>> (as often as necessary) to try and clear out the queue.
>
> Another alternative to CRON, would be to create a script that checks
> if anything needs to be done every time a page is clicked upon. It
> can be as simple as adding a function call or include() to the pages
> you want to act as the trigger. It's more of an advantage when you
> get heavier traffic on a website, but it's a possibility. I think the
> best place to add a trigger, would be to the footer (if you use one)
> which would be appended to every page, and trigger last thing, so it
> wouldn't interfere with the page generation for the user.

Yup, perhaps flush(), and maybe on more traffic (allthough, on more traffic
an other hoster might be more helpfull), create a possibility it's fired:

if(rand(0,99) == 1){
//run script
}

--
Rik Wasmus

 

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

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