Justtechjobs.com Find a programming school near you






Online Campus Both


php3-list | 199903

Re: [PHP3] .htpasswd From: Rasmus Lerdorf (rasmus <email protected>)
Date: 03/04/99

> }> Why won't the sleep function work?
> }The sleep function works fine. You are probably seeing the effects of
> }buffering. Put a flush() call in after your echos to defeat Apache's
> }buffering mechanism.
>
> exec("/usr/local/bin/htpasswd pass.file $username");
> flush();
> sleep(2);
> echo($password);
> flush();
> sleep(4);
> flush();
> echo($PasswordVerify);
>
> Nope, still cycles right through without a pause. . . any other
> suggestions?

Then you are out of luck.

-Rasmus

--
PHP 3 Mailing List   http://www.php.net/
To unsubscribe send an empty message to php3-unsubscribe <email protected>
To subscribe to the digest list:  php3-digest-subscribe <email protected>
For help: php3-help <email protected>  Archive:  http://www.php.net/mailsearch.php3
List administrator:  zeev-list-admin <email protected>