Search found 7 matches
- Thu Feb 10, 2011 9:45 pm
- Forum: Older Browser MMO Videos
- Topic: Login question
- Replies: -1
- Views: 1723
Re: Login question
Thank you VERY much. Now it is working. I have to say. I was a little bit confused about it, but now everything is clear to me. Thank you again!
					- Thu Feb 10, 2011 6:46 pm
- Forum: Older Browser MMO Videos
- Topic: Login question
- Replies: -1
- Views: 1723
Re: Login question
 <?php include_once 'connect.php'; session_start(); if (isset($_SESSION['name'])) { $name=$_SESSION['name']; } else { echo "Not Logged in <br><br> <A href='login.php'>Login</a>"; exit; } $playerinfo="SELECT * from user where name='$name'"; $playerinfo2=mysql_query($playerinfo) or...
					- Tue Feb 08, 2011 9:52 pm
- Forum: Older Browser MMO Videos
- Topic: Login question
- Replies: -1
- Views: 1723
Re: Login question
on the site "profiltabelle.php" I want to show the user information. like name, userlevel, ... I do this with: <?php echo $user['name']; ?> But when I open the site it doesnt show the name, the field in the table where it should be is empty. What do I do wrong? Thank you in advance!
					- Mon Feb 07, 2011 10:47 pm
- Forum: Older Browser MMO Videos
- Topic: Login question
- Replies: -1
- Views: 1723
Re: Login question
Isn't there anybody who can help me?
					- Sat Feb 05, 2011 2:07 pm
- Forum: Older Browser MMO Videos
- Topic: Login question
- Replies: -1
- Views: 1723
Login question
I have a problem. I can register a uder without problems, but I got troubles with showing his stats. I can log in, but I think it is a session problem. There is no error or something else, it just doesnt show the stats. Here are my codes login <form method="POST" action="index.php?sit...
					- Fri Jan 14, 2011 9:58 pm
- Forum: Older Browser MMO Videos
- Topic: Browser MMO Video #5
- Replies: 348
- Views: 1093052
Re: Video#5
Thank you very much! But what does the ob_start code do? is it the same or nearly the same like session_start? And do I have to use session_start, too? because the error message just removes when i delete the session_start, but not when i only add the ob_start in front. I just doesn't know if it wil...
					- Fri Jan 14, 2011 9:00 pm
- Forum: Older Browser MMO Videos
- Topic: Browser MMO Video #5
- Replies: 348
- Views: 1093052
Re: Video#5
I really love your tutorials :) I haven't had much knowledge about php before but I managed to set up a registration and a login, but the login doesn't work. I get this error message: Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output ...