Justtechjobs.com Find a programming school near you






Online Campus Both


php3-list | 199903

Re: [PHP3] .htpasswd From: Matthew Joseff (mjoseff <email protected>)
Date: 03/04/99

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?

-- 
Matthew Joseff, Web Development
RCN Corp. 703-321-2410
www.rcn.com NASDAQ: RCNC 

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