Posted by Zach on 12/31/07 17:13
do you mean only
<?php
// some code
?>
and nothing else?
Zach
Zach wrote:
>
> The code below should redirect the user to another page, but doesn't.
> What is wrong?
> Zach
>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
> <html xmlns="http://www.w3.org/1999/xhtml">
> <head>
> <meta http-equiv="content-type" content="text/html; charset=utf-8" />
> <title>Under reconstruction</title>
> </head>
> <body>
> <?php
> // Redirect the user to the welcome page!
> header ('Location: www.aaa.yy/index.html/');
> exit();
> ?>
> </body>
> </html>
Navigation:
[Reply to this message]
|