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
-
Topics
-
0
-
1
-
3
-
0
-
thedood2k ·
Posted in Power Supplies2 -
0
-
DARTHDIVIDER0213 ·
Posted in Troubleshooting8 -
1
-
Xx-albinos-xX ·
Posted in Troubleshooting10 -
2
-
-
play_circle_filled
Latest From Linus Tech Tips:
Google’s Best Feature In Years - WAN Show June 5, 2026
-
play_circle_filled
Latest From ShortCircuit:
The coolest looking monitor. Period. - ASUS ROG display at Computex (Sponsored)

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