Re: How can i redirect a php file?

From: Date: Tue, 10 Oct 2000 14:19:22 +0000
Subject: Re: How can i redirect a php file?
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-3101@lists.php.net to get a copy of this message
Jorge Nishikuni wrote: > I need how to redirect a php file from other php file, not using links > either Forms embedded in php file. > I know tod do in asp file (Response.Redirect("page.php3")) but in php ??? At the top of a php file - presumably after you've done some database updating (or whatever) and BEFORE you've output any html content (that's important), you could call the header function to specifiy a different location header... <?php header("Location: newfile.php\n\n"); ?> -- Andy Hoffman Web Developer Bristol-Myers Squibb email: andy.hoffman@bms.com

« previous php.windows (#3101) next »