С xampp съм, това ми излиза когато използвам:
Код:
header("Location: /index");
Warning: Cannot modify header information - headers already sent by