Re: Client Redirection

From: Date: Fri, 20 Oct 2000 03:07:49 +0000
Subject: Re: Client Redirection
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-21323@lists.php.net to get a copy of this message
On Fri, 20 Oct 2000, David Robley wrote: > On Fri, 20 Oct 2000, Scott Mebberson wrote: > > Just conitnuing from an earlier post... which is way down the list.... > > > > Can you update a MySQL DB before sending the header information and then > > user redirect(location: > > "http://www.wherever.com") > > > > thanks scott. > Yup. The important thing is not to output _anything_, even a blank line, to > the client before sending the header(Location). So you could have 5000 > lines of script as long as it doesn't send anything to the browser. > > I think we also mentioned output buffering before? I should emphasise that the user redirect is in fact _part of_ the header information. -- David Robley | WEBMASTER & Mail List Admin RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/ AusEinet | http://auseinet.flinders.edu.au/ Flinders University, ADELAIDE, SOUTH AUSTRALIA

« previous php.general (#21323) next »