sniperscope Posted January 4, 2009 Share Posted January 4, 2009 hi guys finally i finished my web site but i extremely need feedback form you gurus. my web site works good but when i try to login i got header error. http://kakuhaku.freehostia.com/index.php this is my site. but i did not finish it yet about header picture or other small details. Thanks for your interest and for feedbacks. Regards Quote Link to comment Share on other sites More sharing options...
ohdang888 Posted January 4, 2009 Share Posted January 4, 2009 theres really nothing to it, as far as content goes... Quote Link to comment Share on other sites More sharing options...
sniperscope Posted January 4, 2009 Author Share Posted January 4, 2009 theres really nothing to it, as far as content goes... I think i post the topic into wrong section. It should be php help. Quote Link to comment Share on other sites More sharing options...
Gighalen Posted January 6, 2009 Share Posted January 6, 2009 Your login process is using the Header() function. Quote Link to comment Share on other sites More sharing options...
sniperscope Posted January 7, 2009 Author Share Posted January 7, 2009 Your login process is using the Header() function. and, any suggestion ? Quote Link to comment Share on other sites More sharing options...
daydreamer Posted January 7, 2009 Share Posted January 7, 2009 you get that header error when you try and redirect after you have output anything to the browser (via echo/print). example: WRONG: echo "hello welcome, please login"; header("Location: login.php"); i have had the same problem, and have gotten round it with meta redirects: This is only an example, and will continually refresh the page (i use an if clause and meta redirect the first time, and the second time my page refreshs this meta is not echod so it only refreshs once) echo "<meta http-equiv=\"refresh\" content=\"0\"/> "; 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.