Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~1K People Reached
Favorite Forums
Favorite Tags
Member Avatar for CEVGames

This is pretty detailed, but here goes. I have a user registration/log in system in place. I have no issues at all registering users or logging them in. My database contains 5 tables. As follows usersystem [INDENT]Fields: username password email total qid[/INDENT] q1 [INDENT]Fields: username answer rank value[/INDENT] Tables q2 …

Member Avatar for CEVGames
0
143
Member Avatar for CEVGames

I am not sure where to begin with this code or how to go about it. I was wondering if anyone could give me some ideas as to where to start or ideas on how to accomplish this (If you want to help with sample codes I'd love that too, …

Member Avatar for CEVGames
0
273
Member Avatar for CEVGames

I have a log in system and upon logging in, I cannot get the page to redirect to the members section. I've tried a bunch of different methods, and none seem to work. Here is my current code, can anyone offer some suggestions please? [CODE]{ $username = mysql_real_escape_string($username); $password = …

Member Avatar for CEVGames
0
124
Member Avatar for CEVGames

Here is the code I have. [CODE]<?php include("db.php"); if (isset($_POST['username']) && isset($_POST['passwords']) && isset($_POST['email'])) { $username = mysql_real_escape_string($_POST['username']); $email = mysql_real_escape_string($_POST['email']); $password = md5($_POST['passwords']); $ip = $_SERVER['REMOTE_ADDR']; $sql3 = mysql_query("SELECT username FROM usersystem WHERE username = '$username'"); If (mysql_num_rows($sql3) >0) { echo( "&serverResponse=Select a different user name. This one is …

Member Avatar for CEVGames
0
152
Member Avatar for CEVGames

I have set the two following cookie when a user successfully logs in. [CODE]$total = mysql_query("SELECT total FROM usersystem WHERE username = '$username'"); setcookie("username", "$username", time()+3600); setcookie("total", "$total", time()+3600); header( 'Location: play.php' ) ; $_SESSION['username'] = $username; [/CODE] (Username is previously defined and does display when retrieved.) Then on the …

Member Avatar for CEVGames
0
74
Member Avatar for CEVGames

I have a registration page and I want to validate the e-mail address. I'm having an issue with line 14 in particular. (I used a combination of several tutorials to make this). [CODE]<?php include("db.php"); if (isset($_POST['username']) && isset($_POST['password']) && isset($_POST['email'])) { $username = mysql_real_escape_string($_POST['username']); $email = mysql_real_escape_string($_POST['email']); $result=ereg("^[^@ ]+@[^@ ]+\.[^@ …

Member Avatar for P0lT10n
0
198
Member Avatar for jasha

Hello there, first of all hi everyone, this is my first post here. i'm pretty new to PHP but i do know enough about programming to understand advices at any level. Here is my question: I've done a login algorythm which is working fine, everything is managed by an idex.php …

Member Avatar for CEVGames
0
252
Member Avatar for CEVGames

Hi all, I am completely new to PHP and MySQL, but I need to learn it for a project my friends and I are working on. So, I found a tutorial on how to create a user registration and log in system using PHP and MySql. I am having an …

Member Avatar for CEVGames
0
198