not opening specified page with header

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Kabindra
    New Member
    • Dec 2012
    • 1

    not opening specified page with header

    The username and password of text box is made to match with username and password of database and if matched the page is made to forward to next page "customer_profi le.php " with header command "header('Refres h:5;URL=custome r_profile.php') ;", , every thing is correct, name and password is matched with that of database
    but message is displayed as "Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs \kabin\day2\log in.php:19) in C:\xampp\htdocs \kabin\day2\inc \middle_right_l ogin.php on line 24"
  • lyodmichael
    New Member
    • Jul 2012
    • 75

    #2
    what do you accomplish know? can we see your code?

    Comment

    • solutionwand
      New Member
      • Dec 2012
      • 16

      #3
      Hello,
      You can try

      Code:
      header('Location: customer_profile.php');
      More detail, kindly check http://php.net/manual/en/function.header.php

      Comment

      • Rabbit
        Recognized Expert MVP
        • Jan 2007
        • 12517

        #4
        What the error means is that you already passed non-header data. You can't pass header data after that. Move the non-header data that you pass after all header data has been passed.

        Comment

        Working...