Reply to Re: Need to break a while..

Your name:

Reply:


Posted by Sonnich Jensen on 09/11/07 13:25

On Sep 10, 7:09 pm, ZeldorBlat <zeldorb...@gmail.com> wrote:
> On Sep 10, 11:57 am,SonnichJensen <sonnich.jen...@jotautomation.com>
> wrote:
>
> > I have a page, including a while, which can read quite an amount of
> > data, if the user selects so.
> > I want to add something, so I can break this while - I havent found it
> > yet.
>
> > I have tried connection_aborted and connection_status, but they do not
> > do the trick.
>
> > I'd like:
>
> > 1) to stop it, when the user clicks on a link, so it goes to the new
> > page, and stops it present action
> > 2) eventually to add a "Stop" button on the page - any ideas how to
> > achive that?
>
> When the browser makes a new request before the current one is
> finished the default behavior is for PHP to abort the script. It
> sounds like that's what you want, no?- Hide quoted text -

I solved the problem with an <iframe> and a small file, which a
button, when pressed it saves a "stop" file which the larger file's
while loop checks for. Odd solution but it works.
I was just wondering whether I can pass a variable on to the other
running script....

BR
Sonnich

[Back to original 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

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