Re: need help

From: Date: Wed, 03 Sep 2003 01:23:59 +0000
Subject: Re: need help
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-21307@lists.php.net to get a copy of this message
1) client pull. use the browser meta-refresh, may not work on some browsers (like PDA's, etc, nearly all desktop browsers should be ok with this method) just tricky with passing back QUERY_STRING, if you had stuff from previous form. <HTML> <HEAD> <META HTTP-EQUIV="refresh" content="10;URL=http://www.yoursite.com/firstpage.php?action=wrongdata"> <TITLE>wrong data entered</TITLE> </HEAD> <BODY> you entered the wrong data, please wait you will be redirected. </BODY> </HTML> 2) server push: using http headers. I've not done this, but you can research it if you like. A http server cannot technically "push" to the browser, but I believe under HTTP1.1 and using multi-part forms, you can generate server pushes (in fact this is how a lot of chat stuff works I think) which would do the trick. 3) client pull #2: use javascript (yuck) even less compatible than yaks and crocodiles... ok I exaggerate for effect. "Zicux" <zicux@navigator.lv> wrote in message news:1409935959.20030902233600@navigator.lv... > Hello, > > How can I make my page reload in browser, for example user inputs some > data then some page will say good or bad data and then I want it to > reload to the first page where input form was? > > > -- > Thanks, > .r.

« previous php.windows (#21307) next »