+1  A: 

It looks like echo "executed"; sends output before the headers. PHP then stops the headers from sending, because HTTP requires headers to come before output. If removing that doesn't fix it, try commenting out include('index.php'); to test if the output is coming from there.

Scott Reynen
thanks dude----
rakeshakurathi

related questions