Vivid Lust Posted January 9, 2009 Share Posted January 9, 2009 Hey all, I have the following at the start of my program: session_start(); everything works fine, but now adding an include below it: session_Start(); include("includes/config.php"); There is a header error message. Anyone willing to help? Thanks - Jake. Quote Link to comment https://forums.phpfreaks.com/topic/140166-headers-help/ Share on other sites More sharing options...
premiso Posted January 9, 2009 Share Posted January 9, 2009 Maybe, if you show us some code in the includes section and what the error message is. EDIT: HEADER ERRORS - READ HERE BEFORE POSTING THEM Also take a look at the post. Quote Link to comment https://forums.phpfreaks.com/topic/140166-headers-help/#findComment-733456 Share on other sites More sharing options...
abdfahim Posted January 9, 2009 Share Posted January 9, 2009 we don't know what is inside your config file. Just to clear one thing, if you use php header function inside your code, make sure you dont output anything before that header line. (Output includes php echo, or anykind of HTML). Quote Link to comment https://forums.phpfreaks.com/topic/140166-headers-help/#findComment-733458 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.