Header Problem

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • anis2007
    New Member
    • Oct 2006
    • 21

    Header Problem

    does not take header(Location : variablename)
    we register session this type
    @session_start( );
    show this warning.

    plz tell anyone

    Warning: Cannot add header information - headers already sent by (output started at c:\apache\htdoc s\medscout\www\ connection.php: 1) in 7
    Last edited by anis2007; Oct 5 '06, 02:35 PM. Reason: question incorrect post
  • bevort
    New Member
    • Jul 2006
    • 53

    #2
    the session start command MUST be at the first line in your code
    Use $SID=session_st art(); if you need the Session ID for some reason otherwise use session_start() ;

    Comment

    Working...