You are here: Re: how php parses code « PHP Programming Language « IT news, forums, messages
Re: how php parses code

Posted by Curtis on 01/26/07 11:54

On Jan 25, 11:04 am, "Cord-Heinrich Pahlmann" <S...@Heineken2000.de>
wrote:
> Hi,
>
> I'm wondering when php executes the code.
> I have a little script which takes around 10 seconds execution time.
> In those 10 seconds the script does a lot of mysql_queries and changes
> some data.
> If the script stops after 5 seconds and restarts it will mess up my
> data.
>
> But it seems if php goes through the code and executes all the
> mysql-queries after it is finished (after the 10 seconds).
>
> So my question is, when does php executes the mysql-queries?

Once the client sends the request, the PHP is parsed by a running php
process (i.e. cgi or apache module). PHP's database wrappers
communicate with the database and handle the data.

It sounds like there could be a problem with your configuration or
code. This is probably the wrong avenue to explore to find a solution
to your problem.

--
Curtis

 

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

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