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" <[EMAIL PROTECTED]> wrote in message
news:001301c15cbc$f38018b0$[EMAIL PROTECTED]...
> 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
>
>
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]