Re: Wait Statement... ?
| From: | Jason Wong | Date: | Tue, 20 Jul 2004 11:38:52 +0000 |
| Subject: | Re: Wait Statement... ? | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-35402@lists.php.net to get a copy of this message | ||
On Tuesday 20 July 2004 16:56, ..: GamCo :.. wrote:
> ok, i added the sleep() function in my page. what i'm basically doing is :-
>
> i have a .php page where people log-in from. from there i send the form to
> another .php page that actually checks the login and registers a session
> with the username and password as session variables. then on the page that
> actually does the validation, i have something that says : validating
> login... sleep 1 funtion. then, i have another line that says validation
> successfull... sleep 1 function and then i have another line that says
> redirecting... with sleep 1 function and then header redirects to the
> actual logged-in.php file. the redirect and validation works perfectly as
> well as the sleep functions, but it now doesn't display the validating
> login... blah blah blah stuff which is done in normal html code...
WHy don't you just validate the login and be done with? Why wait 1 second,
another second, ... ?
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-db
------------------------------------------
/*
There are no accidents whatsoever in the universe.
-- Baba Ram Dass
*/