| We hope you enjoy your visit. You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free. Join our community! If you're already a member please log in to your account to access all of our features: |
- Pages:
- 1
- 2
| Sessions | |
|---|---|
| Tweet Topic Started: Jun 27 2005, 02:17 PM (797 Views) | |
| Das | Jun 27 2005, 02:17 PM Post #1 |
![]()
Smells of rich mahogany
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
*yoinkage* |
![]() |
|
| Dennis | Jun 27 2005, 02:59 PM Post #2 |
|
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
You have to send the session_start() before any output. Example:
This goes the same for any echo's, prints, etc. Not sure if that's the specific problem, but that's a problem. |
![]() |
|
| Das | Jun 27 2005, 03:04 PM Post #3 |
![]()
Smells of rich mahogany
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Well how would I echo things out in the content div if it has to be at the top? |
![]() |
|
| FearKiller | Jun 27 2005, 03:36 PM Post #4 |
|
www.drewscripts.com
![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
How wouldn't you? session_start() MUST be before any output is sent to the user weither it's HTML, echo statements, or even blank lines. Also one of your <br /> seems to have stray quotes after it and you should really use © instead of the copyright symbol itself. That may fix the problems with the footer.
|
![]() |
|
| Das | Jun 27 2005, 03:49 PM Post #5 |
![]()
Smells of rich mahogany
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Ok so now I have:
Now I don't get an error, but don't appear to be logged in. When I go to mycontrols I get my not logged in error. |
![]() |
|
| FearKiller | Jun 27 2005, 04:21 PM Post #6 |
|
www.drewscripts.com
![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Try placing session_start() at the top of mycontrols.php as well. |
![]() |
|
| Das | Jun 27 2005, 05:09 PM Post #7 |
![]()
Smells of rich mahogany
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Already did:
|
![]() |
|
| Das | Jun 28 2005, 02:32 AM Post #8 |
![]()
Smells of rich mahogany
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
I decided to go another way with this. Now I am not getting an error, but nothing is happening:
EDIT: Sorry about the double post thought Fearkiller was above me :$. |
![]() |
|
| FearKiller | Jun 28 2005, 04:19 PM Post #9 |
|
www.drewscripts.com
![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
$_post != $_POST Try using CAPS. |
![]() |
|
| Das | Jul 1 2005, 02:20 AM Post #10 |
![]()
Smells of rich mahogany
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
New problem:
Same as usual no error, but nothing happens >_<. There is a little more to this code, but I am pretty sure it is fine. If this code is ok I will post the other part to see if it is that. |
![]() |
|
| mathiaus | Jul 1 2005, 02:57 AM Post #11 |
|
mathiaus maximus™
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
your trying to fetch the username but in the query you only selected status
|
![]() |
|
| Das | Jul 1 2005, 03:23 AM Post #12 |
![]()
Smells of rich mahogany
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
>_< I knew it was something stupid again. Thanks :$. |
![]() |
|
| lilhawk2892 | Jul 3 2005, 05:03 PM Post #13 |
|
Member
![]() ![]() ![]() ![]()
|
wut is a session is it like a one hour chat sort of thing or is it like registereing for somthing like ytv.com |
![]() |
|
| Dennis | Jul 3 2005, 05:04 PM Post #14 |
|
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Sessions are a method of Authentication used to log people in, and stuff like that. |
![]() |
|
| Das | Jul 3 2005, 05:08 PM Post #15 |
![]()
Smells of rich mahogany
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Like a server-side cookie. |
![]() |
|
| 1 user reading this topic (1 Guest and 0 Anonymous) | |
| Go to Next Page | |
| « Previous Topic · Technology Chat · Next Topic » |
- Pages:
- 1
- 2
| Track Topic · E-mail Topic |
9:10 AM Jul 11
|




![]](../../../../0/1/0/p601690/pipright.png)



9:10 AM Jul 11