Hello!.
I'm trying to use the header function like this:
header("location:test1.php");
header("location:test2.php?var=".$var);
but when i upload the .php file on my website it doesn't work properly, making the seguent error:
Warning: Cannot modify header information - headers already sent by...
I've searched for this error and i found that it's an error which appears when the variable "output_buffer" in the php.ini file on the server is set on "Off" instead of "On".
It's possibile that this is the problem on the x10hosting server?
I'm trying to use the header function like this:
header("location:test1.php");
header("location:test2.php?var=".$var);
but when i upload the .php file on my website it doesn't work properly, making the seguent error:
Warning: Cannot modify header information - headers already sent by...
I've searched for this error and i found that it's an error which appears when the variable "output_buffer" in the php.ini file on the server is set on "Off" instead of "On".
It's possibile that this is the problem on the x10hosting server?