RE: [PHP-WIN] Forward Link
| From: | Wayne Hinch | Date: | Thu, 18 Apr 2002 08:40:06 +0000 |
| Subject: | RE: [PHP-WIN] Forward Link | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-13151@lists.php.net to get a copy of this message | ||
Does this get invoked as soon as the page is opened?
Wayne
-----Original Message-----
From: brother [mailto:brother@lunarstorm.se]
Sent: 18 April 2002 09:33
To: 'php-windows@lists.php.net'
Subject: RE: [PHP-WIN] Forward Link
> -----Original Message-----
> From: Wayne Hinch [mailto:hinchy2000@lineone.net]
>
> Hi all,
>
> How can I get a page to automatically forward to the next
> page currently
> I am trying to use
>
> header("Location: [filename.php]");
>
> although this is not working it is bringing up the following error
>
> Warning: Cannot add header information - headers already sent
> by (output
> started at c:\html/customer/newcust.php:3) in [filename] on line 304
>
> How do I get around this problem, Please help.
I most often uses the standard metarefresh, you just have to echo the
variabels you want to pass to the new_doc.php
<META http-equiv="REFRESH" CONTENT="0; URL=new_doc.php">
/brother
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php