jjk2 Posted July 23, 2009 Share Posted July 23, 2009 both are running php5 however, in the original server, when i had header() inside an html page, it was okay. in the new server, it would complain that you cannot modify headers. also, session_start() starts complaining that it's not at the very top of the page, whereas in the original server, there was no such compalints, and everything worked beautifully.... am i missing a php mode ? Quote Link to comment Share on other sites More sharing options...
PFMaBiSmAd Posted July 23, 2009 Share Posted July 23, 2009 That's because output_buffering was turned on in the php.ini. Unfortunately, a lot of systems are not set up with settings that will insure that code will work on the greatest number of servers. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.