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

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.