PHP headers already sent out.
By
VortexS
in Programming
in Programming
Go to solution
Solved by Ciccioo,
you can only use the header() function if there has been no output yet
so, from the moment you print/echo something, any header() call will fail
your code outputs 3 tabs before executing the script, which invalidates the header() call
-
Featured Topics
-
Topics
-
Joseph_Stalin ·
Posted in General Discussion3 -
Evan37 ·
Posted in New Builds and Planning3 -
IlanMS ·
Posted in Peripherals8 -
Frossty ·
Posted in Graphics Cards9 -
StephenB95 ·
Posted in Displays2 -
5
-
Foxique ·
Posted in Networking0 -
5
-
PunchyTurtle ·
Posted in Troubleshooting2 -
3
-
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now