Re: How to load the same page?

From: Date: Sun, 05 Nov 2000 19:38:25 +0000
Subject: Re: How to load the same page?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-23801@lists.php.net to get a copy of this message
You might want to look at the HTML meta tags to refresh to different pages then: <html> <head> <META HTTP-EQUIV="Refresh" CONTENT="30;URL=http://your.url/file.html"> -- ------------------------- Where 30 are seconds and http://your.url/file.html is the URL you want to refresh to after 30 seconds. This works in most modern browsers. -jeremy brand _______________________________________________________________________ GnuPG Fingerprint: 9F5E 95E0 1CC2 E054 84EA 6099 8ACD 9DBA D2C0 5EA9 _ http://www.JeremyBrand.com/Jeremy/Brand/Jeremy_Brand.html for more __ On Sat, 4 Nov 2000 sannec27@eng.uab.edu wrote: > Date: Sat, 4 Nov 2000 18:46:07 -0600 > From: sannec27@eng.uab.edu > To: php-general@lists.php.net > Cc: jeremy@nirvani.net > Subject: Re: [PHP] How to load the same page? > > It is actually delaying for that period after the body is loaded, it is not > actually starting the delay from clicking on the link onwards. One more > thing is that it is delaying all the text which is present after the sleep() > function onwards, not only that single line. > So what i want to do : > > -->Original page as it should be, when it is loaded first: > > Configure the network > > Play the voice files > > -->The page after 30 seconds when somebody clicks on 'Configure the network' > link: > > Configure the network > ...network is configured > Play the voice files > > 'Play the voice files' should not get delayed for that period as it is > present after the sleep() function comes. > > Thanks > Chakravarthy K Sannedhi > > > Jeremy Brand wrote: > you can do output, like: > > print "Configure the Network<br>"; > flush(); > /* Then sleep a while */ > sleep(30); > /* Then print the rest */ > print "Network configuration completed<br>"; > > just a thought. > -jeremy brand > > On Fri, 3 Nov 2000 sannec27@eng.uab.edu wrote: > > > Date: Fri, 3 Nov 2000 20:48:08 -0600 > > From: sannec27@eng.uab.edu > > To: php-general@lists.php.net > > Subject: [PHP] How to load the same page? > > > > Hello all, > > > > I am having a link on a page to configure the network, which was > created > > like this. > > <a href=confignetwork.php>Configure the Network</a> > > > > Configuration of the network takes about 30 seconds. So in that time > i want > > to display something like '......Configuring the network' and after > the 30 > > seconds i want to display 'Network configuration completed'. I can't > figure > > out the way from any of the tutorials. So what i want to do is: > > > > Before any thing the page will be(single line): > > Configure the Network > > After clicking the above link for about 30 seconds, the page will > be(2 > > lines): > > Configure the Network > > ...........Configuring the Network > > After the 30 seconds the page should look like the following(2 > lines): > > Configure the Network > > Network configuration completed > > > > Can anybody suggest me how to do this. > > > > TIA > > Chakravarthy K Sannedhi >

« previous php.general (#23801) next »