Hi all,  whats the best way to perform a redirect after out put has started ? 
 using header:location will not work unless theres been no output.
   
  I usuall use the method below, however am concerned for browsers that do not 
support javascript.
   
  $location = 'index.php';
  echo "<script language='javascript'>\n";
  echo "document.location.href = '" . $location . "';\n";
  echo "</script>\n";

       
---------------------------------
Ahhh...imagining that irresistible "new car" smell?
 Check outnew cars at Yahoo! Autos.

Reply via email to