|
|
|||||||
| About Us | Register | FAQ | Members List | Calendar | Mark Forums Read |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|
#1 (permalink) | |
|
Memories are all I have..
![]() ![]() ![]() Join Date: Apr 2001
Location: In my memories...
Posts: 423
|
Some help with php
Hey guys, im doing a form login script using mysql. Im using a class file that i wrote to store all of my mysql prodecures.
Now i got this error after parsing in all of my login stuff. The script works basically but im wonderin what do these error's mean? Thanks Quote:
__________________
When the pages of the book of my life ends. You'll be the most colourful chapter i ever had. If it'll be open again, i'll start with the moment i knew you. [sig=390] |
|
|
|
|
|
|
#3 (permalink) |
|
Memories are all I have..
![]() ![]() ![]() Join Date: Apr 2001
Location: In my memories...
Posts: 423
|
nope, that doesnt solve the problem..doh..
anyone else has any idea?
__________________
When the pages of the book of my life ends. You'll be the most colourful chapter i ever had. If it'll be open again, i'll start with the moment i knew you. [sig=390] |
|
|
|
|
|
#5 (permalink) |
|
Single
![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: Apr 2002
Location: Norway
Posts: 667
|
the "headers already sent" message means that you've started outputting the page itself. the headers must be sent before any other data. that seems to be what you're doing wrong.
[edit] the error msgs says output started at index.php:7, which means line 7. I would check what's on line 7 if I were you
__________________
This is my new improved sig. |
|
|
|
|
|
#6 (permalink) |
|
Memories are all I have..
![]() ![]() ![]() Join Date: Apr 2001
Location: In my memories...
Posts: 423
|
Well...line 7 is my < ?php tag.
haha.. hm..i dont get ya snake. care to explain? the part about the headers
__________________
When the pages of the book of my life ends. You'll be the most colourful chapter i ever had. If it'll be open again, i'll start with the moment i knew you. [sig=390] Last edited by Janus; March 24th, 2004 at 13:43. |
|
|
|
|
|
#8 (permalink) |
|
Single
![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: Apr 2002
Location: Norway
Posts: 667
|
that's right. iirc, there's a blank line between the headers and the document itself. iow, you would have to do ALL header-stuff BEFORE outputting ANY data.
[edit] that means all non-php code too. at the begnning of your page, you must start with the php tag, then do all your header work before you start outputting any data.
__________________
This is my new improved sig. |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|