Page 1 of 1

URL Jump or Foward

Posted: Mon Jun 18, 2007 9:21 pm
by dgny06
I apologize for such a remedial question but even after googling, I can not get this to work. I have a PHP page that is called by a form. After the script is executed on the page I want the page to jump to a new one. I thought using the code below at the end of my page would work, but I get a "Warning: Cannot modify header information - headers already sent by" error. Can someone please let me know what else I need to add in order for this to work. Or is there maybe another method to accomplish this.

Thanks in advance....



<?php
header("Location: url");
?>

Posted: Mon Jun 18, 2007 9:44 pm
by feyd
Have you searched? This topic came up a few hours ago and regularly comes up.. far too often.