Jump to content

Header errors


jungleme0w

Recommended Posts

Hello,
b4 u start abusing, yes, i did read the sticky.
http://www.phpfreaks.com/forums/index.php/topic,37442.0.html

Its example is perfect for me, login and all. But i dont understand the solution.
my login script is;
http://junglecat.freehostia.com/uploads/login.txt

"Cannot modify header information - headers already sent by (output started at /home/www/mydomain.com/index.php:2)"

someone...help...me! please!
Link to comment
Share on other sites

Then get the coder to fix it. If you want to learn, you'll have to start somewhere. If you didn't write ANY of it, that's going to be hard. You could try paying someone to redo it if you don't want to learn.

The processing needs to be before any output. That's all I can elaborate.
Link to comment
Share on other sites

No, US Dollars, not "Fun Bucks".
You asked if I could help you and I replied. No need to be rude.

Why can't you ask the person who coded it? Or start trying to do it yourself? Just seperate out the processing code from the output, and make sure you never put HTML before you try to set a cookie. Best way to learn is to start working on it.
Link to comment
Share on other sites

is this solved ?
I can T look at your
http://junglecat.freehostia.com/uploads/index.txt
file
also I think you are displaying your login information of you db
mysql_connect("asdad", "mdadql", asasdador die(mysql_error());
mysql_select_db("miadadql") or dieada(mysql_error());

always a bad thingie
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.