Does this get invoked as soon as the page is opened?
Wayne -----Original Message----- From: brother [mailto:[EMAIL PROTECTED]] Sent: 18 April 2002 09:33 To: '[EMAIL PROTECTED]' Subject: RE: [PHP-WIN] Forward Link > -----Original Message----- > From: Wayne Hinch [mailto:[EMAIL PROTECTED]] > > 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 -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php