Re: Client Redirection

From: Date: Fri, 20 Oct 2000 03:04:07 +0000
Subject: Re: Client Redirection
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-21322@lists.php.net to get a copy of this message
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? -- 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 (#21322) next »