0

when i use this simple code, i get error :

PHP :

<?php
flush();
header("Location : http://google.com");?>

as you see i do not send anything to output but i says header already sent... can any one help...

ERROR :

Warning: Cannot modify header information - headers already sent in C:\xampp\htdocs\hi.php on line 4

i google this error but all result of the search is send nothing to output....but you see that i don't send anything to output... :( i have been used ob_start() method but i get this error again i actually confused please help

amin msh
  • 472
  • 5
  • 14

0 Answers0