On Mon, 5 Mar 2001, JW wrote:

> i have used header to redirect to other page.
[cut]
>     if ($result == false)
>     {
>         header ("HTTP/1.0 404 Not Found");
>         exit;
>     }
>     else
>     {
>         header ("../Form/first.html");
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
According to RFC, you should use:
        header('302 Moved');
        header('Location: http://new.location.com');


Greets,
        Batonik


-- 
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]

Reply via email to