php3-list | 199903
Date: 03/05/99
- Next message: CIMPOESU Teodor: "Re: [PHP3] return from exec()ed script - newbie"
- Previous message: Samuel Liddicott: "RE: [PHP3] ? [INSTALL WIN95 APACHE] :)"
- In reply to: Matthew Joseff: "Re: [PHP3] .htpasswd"
- Next in thread: Jason Brooke: "Re: [PHP3] .htpasswd"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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>
- Next message: CIMPOESU Teodor: "Re: [PHP3] return from exec()ed script - newbie"
- Previous message: Samuel Liddicott: "RE: [PHP3] ? [INSTALL WIN95 APACHE] :)"
- In reply to: Matthew Joseff: "Re: [PHP3] .htpasswd"
- Next in thread: Jason Brooke: "Re: [PHP3] .htpasswd"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

