PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]
first so sorry for my poor english,i'm a chinese.
the "session_start" should be header of php file,and there is not any html out in front of these words.
such as
and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]
joncampbell wrote:The headers already being sent is probably because you are getting a warning from the second session start that there is already a current session.
Headers are automatically *sent* after ANY output has been made. An active session does not send headers.