You are here: Re: Timer « PHP Programming Language « IT news, forums, messages
Re: Timer

Posted by Metin Savignano on 05/29/06 17:03

> When I said manually I meant by a page request, the script is in a
> webserver and I request by putting the URL in the browser and the
> webcron request the same page.

Does the cron run on the same machine as the web server?

> You said it wasnt clean the warnings about the division by zero so I
> set the error reporting to a lower value (E_ERROR) and it fixed
> everything, now I get the same times on both cases :D I dont really
> understand the why though.

Even though this is not what you wanted, it means we get closer to the
problem. Are you sure the script had run successfully till its end
before you fixed these problems? Maybe it was canceled early, so it was
faster because of that...

Next step would be: Write to a log file every few lines of your script,
so you can find out where in the script this delay happens, and then
take a closer a look at it.

Or post it, and let us take a closer look together.

 

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

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