Re: redirect

From: Date: Wed, 29 Oct 2003 19:54:20 +0000
Subject: Re: redirect
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-168059@lists.php.net to get a copy of this message
alain dhaene wrote:
But I get the following warning: Warning: Cannot modify header information - headers already sent by (output started at /home/schoolre/public_html/Hitek/Online/Registratie/registratieFuncties.php: 1) The warning states it clearly, output started on line 1 in registratieFuncties.php. Output means any output that is send to the browser, and there are many ways you can output something - echo, print, anything outside <?php ?>, error ...
in
/home/schoolre/public_html/Hitek/Online/Registratie/registratieData.php on line 30 In registratieData there is a include file to registratieFuncties.php. And in the file registratieFuncties.php there is a include file to Connecties.inc for the connectiestring to the database Alain "Gregory Kornblum" <GKornblum@guesswho.com> schreef in bericht news:230BE1372BD1D4119E3900306E01749802DA4B6D@naphmail01.nationala-1advertis ing.com...
header("Location: registratie.html");
That is exactly how you do the PHP version of a response.redirect(). Regards.


« previous php.general (#168059) next »