Re: Redirecting to a new php file

From: Date: Wed, 24 Oct 2001 19:06:05 +0000
Subject: Re: Redirecting to a new php file
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-72143@lists.php.net to get a copy of this message
Use the header() function in conjunction with the Location HTTP header: header("Location: http://host.domain.tld/path/to/file.php"); This MUST be sent to the browser before ANY other output. You can execute as many commands as you like but this must come before any output (and before the <html> tag in your file). Mike Frazer "Sridhar Moparthy" <sridhar.moparthy@wcom.com> wrote in message news:001301c15cbc$f38018b0$93572ea6@wcomnet.com... > Hi All, > > Is there any command in PHP that redirects to a php file from another php > file? > If not does any one know how to implement this functionality? > > Thank you, > Sridhar Moparthy > > >

« previous php.general (#72143) next »