Search found 7 matches
- Thu Jan 05, 2012 11:45 pm
- Forum: Older Browser MMO Videos
- Topic: [Problem] Inventory/store! -Solved
- Replies: -1
- Views: 728
Re: [Problem] Inventory/store!
//nevermind I solved
- Thu Jan 05, 2012 4:15 pm
- Forum: Older Browser MMO Videos
- Topic: [Problem] Inventory/store! -Solved
- Replies: -1
- Views: 728
[Problem] Inventory/store! -Solved
Sorry if I insist with topics, but on the video topic I got no answer. This is my code battle.php <? require_once('config.php'); if (isset($_SESSION['username'])) { $player = $_SESSION['username']; } else { echo "You are not logged in. <a href='../login.html'>Click</a> to log in"; exit; } ...
- Thu Jan 05, 2012 2:36 pm
- Forum: Older Browser MMO Videos
- Topic: Browser MMO Video #7
- Replies: 111
- Views: 283718
Re: Video#7
battle.php <? require_once('config.php'); if (isset($_SESSION['username'])) { $player = $_SESSION['username']; } else { echo "You are not logged in. <a href='../login.html'>Click</a> to log in"; exit; } $info = "SELECT * FROM `game`.`users` where username = '$player'"; $info2 = m...
- Thu Jan 05, 2012 11:04 am
- Forum: Older Browser MMO Videos
- Topic: Browser MMO Video #7
- Replies: 111
- Views: 283718
Re: Video#7
Hi, I hope someone is still entering here. I got real problems with battle.php Notice: Undefined variable: iteminfo3 in C:\xampp\htdocs\game\php\battle.php on line 30 Notice: Undefined variable: iteminfo3 in C:\xampp\htdocs\game\php\battle.php on line 35 Notice: Undefined variable: iteminfo3 in C:\x...
- Wed Jan 04, 2012 3:54 pm
- Forum: Older Browser MMO Videos
- Topic: LOGIN problem -Solved
- Replies: -1
- Views: 2158
Re: LOGIN problem
hank you for the quick answers, I solved the problem! Now there is another last thing. When I try to encrypt the password, I fail to log in. When I register, the password is sent in the DB encrypted, but when I try to log in with the same password and with the same code (md5()), it says wrong passwo...
- Wed Jan 04, 2012 12:33 pm
- Forum: Older Browser MMO Videos
- Topic: LOGIN problem -Solved
- Replies: -1
- Views: 2158
Re: LOGIN problem
Yes You are right with the md5 thing, I corrected it but with the same results. The registration is different, I used another code and it works becouse it inserts values in the table in the DB. The problem is with the login script. Whatever I type I get "Wrong password" so the issue is wit...
- Wed Jan 04, 2012 12:12 pm
- Forum: Older Browser MMO Videos
- Topic: LOGIN problem -Solved
- Replies: -1
- Views: 2158
LOGIN problem -Solved
Hi all, I'm new here and I hope some of you could help me. I just watched all the video tutorials, but the login script do not work. I tried some others alternatives. First, a simple code with the mysql_num_rows command, but I get an error: parameters axpected to be one, boolean given. With this com...