Rasmus, Thanks, but, what if, I've just gone through an set variables and outputed the contents of those to PHP, just to run up a SQL query, to authenticate a user. Set another to say they are authenticated, then I want to take the user to another page? What PHP method would I use in this case. Col "Rasmus Lerdorf" <rasmus@php.net> wrote in message Pine.WNT.4.56.0311262103230.3676@DELL">news:Pine.WNT.4.56.0311262103230.3676@DELL... > You have to put this before any other output on the page. > > -Rasmus > > On Thu, 27 Nov 2003, PETCOL wrote: > > > Newbie questions again. > > > > In ColdFusion I'd use a <CFLOCATION> tag to push the user to another page or > > location....... > > > > In PHP I've read you can use a: > > > > <?php > > header("Location: http://domain/virtual/yourpage.php"); > > exit; > > ?> > > > > However, when ever I've tried this I keep getting errors something like: > > "Warning: Cannot modify header information - headers already sent by(page > > I'm working on)" > > > > Suggestions? > > > > Col > > > > -- > > 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