Re: Header("Location: some.url.com")

From: Date: Tue, 26 Sep 2000 02:24:55 +0000
Subject: Re: Header("Location: some.url.com")
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-17489@lists.php.net to get a copy of this message
Hi Julie & Matt, Well if it has to be server side , you can do validation etc as long as you do not output anything before you send the header. HTH Steve At 5:31 PM -0700 25/9/00, Julie Meloni wrote:
I think the point was to do specific processing (data validation, etc.) and as a result of that, send a header(). So, unless you're doing all the processing on the client-side, a client-side solution doesn't do the job. Steve Farmer wrote:
Hi Guys, try a javascript "location.replace" works anywhere on the page HTH Steve At 4:03 PM -0700 25/9/00, Julie Meloni wrote:
Matt wrote:
Does anybody know a way of executing this sort of code after other
things
have been executed on a page? Traditionally you have to do it at the top
of
the page, but I want to be able to do stuff and then forward people to a
new
page. Any ideas?
You can. Just don't _print anything to the screen_ before it.
-- +------------------------------------------------+
| Julie Meloni (jcm@i2ii.com)                    |
| Tech. Director, i2i Interactive (www.i2ii.com) |
|                                                |
|      "PHP Essentials" & "PHP Fast & Easy"      |
|            http://www.thickbook.com/           |
+------------------------------------------------+ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net
-- --------------------------------------------------- "I disagree completely with what you are saying, but I will defend to the death your right to say it" - Voltaire Support free speech; visit http://www.efa.org.au/ Heads Together Systems Pty Ltd http://www.hts.com.au Email: hts@hts.com.au Tel: 612 9982 6767 Fax: 612 9981 3081

« previous php.general (#17489) next »