473,396 Members | 2,087 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

while and stopping

Hi!

in a while, is there a variable telling if the request was cancelled?

say:
while( $more_data && !$not_cancelled)
{
blabla

?

Jun 21 '07 #1
2 1148
jodleren wrote:
Hi!

in a while, is there a variable telling if the request was cancelled?

say:
while( $more_data && !$not_cancelled)
{
blabla

?
There is if you set one.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attglobal.net
==================
Jun 21 '07 #2
Rik
On Thu, 21 Jun 2007 14:07:08 +0200, jodleren <so*****@hot.eewrote:
Hi!

in a while, is there a variable telling if the request was cancelled?

say:
while( $more_data && !$not_cancelled)
{
blabla

These function may be helpfull:
http://www.php.net/connection_status
http://www.php.net/connection_aborted
http://www.php.net/ignore_user_abort

--
Rik Wasmus
Jun 21 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

23
by: ern | last post by:
I have a program that runs scripts. If the user types "script myScript.dat" the program will grab commands from the text file, verify correctness, and begin executing the script UNTIL... I need...
0
by: GTS | last post by:
Hi, I have created my application to run as windows service. It is developed using VC++ on Windows 2000 platform. It is working fine with Windows 2000. But I am seeing problems in Windows 2003...
2
by: UJ | last post by:
I've got a text box that I'm going to be doing some manipulation on (selecting text, moving stuff around, that kind of thing) but I don't want/need the user to see it while it's going on. I'd like...
4
by: nottheface | last post by:
I have a chunk of code I'm writing in a C# code behind. Not sure if this is the right place to post, but I'm hoping someone has come across this before... I have on a page a pair of drop down...
6
by: Mark | last post by:
I'm building a web utility to do some processing that will run for several hours. Assume I have a valid reason for using the web for the utility. During the process I'd like to display an update...
0
by: eldamiani | last post by:
Ineed a help. I want to ask, how I can do dialog box window which is a normal form, but causes stopping the code execution in form which call out this dialog box. I have ...
5
by: patrick | last post by:
hi all, i am looking for a way to break a while True: when pressing "s" on my keyboard. how can i do this? pat
10
by: whodgson | last post by:
The following code snippet transforms names into telephone book foremat. while(n<35) { cin>>first>>middle>>last; if(first=="z") break; middle=middle.substr(0,1); ...
1
by: raghudr | last post by:
Hi all, I am displaying a splash screen for which i have created a thread.Since my whole project is launched by windows service and that service will start automatically at the start of the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.