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 Link to comment https://forums.phpfreaks.com/topic/139436-need-feedback-about-login/ 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... Link to comment https://forums.phpfreaks.com/topic/139436-need-feedback-about-login/#findComment-729380 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. Link to comment https://forums.phpfreaks.com/topic/139436-need-feedback-about-login/#findComment-729401 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. Link to comment https://forums.phpfreaks.com/topic/139436-need-feedback-about-login/#findComment-731216 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 ? Link to comment https://forums.phpfreaks.com/topic/139436-need-feedback-about-login/#findComment-731491 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\"/> "; Link to comment https://forums.phpfreaks.com/topic/139436-need-feedback-about-login/#findComment-731791 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.