How to get PHP function status?

How to get PHP function status?

am 30.11.2007 08:36:38 von SeanInSeattle

So, I'm compiling XML strings within a function, when passed the type
of XML file to create. My question is, how do i query the status of
that function so that I can show a "XML File Loading, Please Wait."
notice on my web site while the XML file is being created.

Any help is appreciated!

Re: How to get PHP function status?

am 30.11.2007 09:18:25 von badar.waqas

On Nov 30, 12:36 pm, SeanInSeattle wrote:
> So, I'm compiling XML strings within a function, when passed the type
> of XML file to create. My question is, how do i query the status of
> that function so that I can show a "XML File Loading, Please Wait."
> notice on my web site while the XML file is being created.
>
> Any help is appreciated!

Use a session variable in which you store the current operation or
progress.On client either use ajax or frame to read that session
variable after specific interval.