On Sat, 22 Feb 2003 15:25:36 +0300, you wrote:

>I need forward a html file in my php.
>
>If I use include, it comes a part of .php result. In the navigation window
>shows that myscript.php
>
>But I want to show that destination.html.

Not absolutely sure what you're asking for, but I think you want
myscript.php to redirect to destination.html?

You need a Location header.

header("Location: http://www.site.com/destination.html";);

http://www.php.net/manual/en/function.header.php

Note: headers have to be set /before/ any other text is sent, including
blank lines. If this is impossible, use output buffering :

http://www.php.net/manual/en/ref.outcontrol.php


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to