Justtechjobs.com Find a programming school near you






Online Campus Both


php3-list | 199903

Re: [PHP3] .htpasswd From: CIMPOESU Teodor (teo <email protected>)
Date: 03/05/99

Matthew Joseff wrote:

> On Thu, 4 Mar 1999, Rasmus Lerdorf wrote:
>
> }> 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?
>
>

Yap, write a C program which do all the stuff. Then call it with exec()

--
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>