Jump to content

need feedback about login


sniperscope

Recommended Posts

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

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\"/> ";

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.