You are here: Re: Check for infinite loop? « PHP Programming Language « IT news, forums, messages
Re: Check for infinite loop?

Posted by el_roachmeister on 10/22/05 22:55

el_roachmeister@yahoo.com wrote:
> I suspect there might be an infinite loop in my code, however, php
> seems to timeout and continue running the script. Is there a way to
> check for this?

I traced the problem to several calls to http requests like:

$contents = file('http://www.mydomain.com/some_variable');

Each one could took upto a second so I got rid of all but one . I
suppose there is a lot of overhead with making the http request through
php?

 

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

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