[PHP] Pause script

2006-03-27 Thread Pieter du Toit
Hi

I want to pause script in php, in a while loop, so that a key must be 
pressed or a button must be clicked for the script to continue.

Is this possible, i had a look at some functions, but it is not what i want.

Can someone point me in a direction to search or maybe solve this problem 
for me.

Thanks 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] Pause script

2006-03-27 Thread Jay Blanchard
[snip]
I want to pause script in php, in a while loop, so that a key must be 
pressed or a button must be clicked for the script to continue.

Is this possible, i had a look at some functions, but it is not what i
want.

Can someone point me in a direction to search or maybe solve this
problem 
for me.
[/snip]

PHP is server-side...you would need a client-side method of interacting
with PHP. From the command line or browser?

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Pause script

2006-03-27 Thread tedd

Hi

I want to pause script in php, in a while loop, so that a key must be
pressed or a button must be clicked for the script to continue.

Is this possible, i had a look at some functions, but it is not what i want.

Can someone point me in a direction to search or maybe solve this problem
for me.

Thanks


Pieter:

You could use a form with a submit button to continue.

tedd
--

http://sperling.com

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Pause script

2006-03-27 Thread Richard Davey

On 27 Mar 2006, at 17:04, Pieter du Toit wrote:


I want to pause script in php, in a while loop, so that a key must be
pressed or a button must be clicked for the script to continue.

Is this possible, i had a look at some functions, but it is not  
what i want.


You mean when the script is called from the command line, right?  
because you cannot do it when called from a web page.


Cheers,

Rich
--
http://www.corephp.co.uk
Zend Certified Engineer
PHP Development Services

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php