0

Since today, my PHP script has stopped working; I'm getting a PHP headers already sent error. Normal tactics didn't work out, and now I've hit a dead end.

Even this code does not work, and generates the error:

<?php
header("location: index.php");

In my original file, I'm not outputting anything before setting a cookie and then trying a redirect.

Additonal information: I'm posting to the original file but that shouldn't matter.

Olivier
  • 13
  • 6

0 Answers0