Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Jun 17th, 2012  |  syntax: None  |  size: 0.18 KB  |  hits: 13  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. I want the PHP header to redirect the whole page, not just the div [closed]
  2. header("location:login.php");
  3.        
  4. <div id="whatever"><script>window.location = 'login.php';</script></div>