yes pleaseTemor wrote:I could write a short tutorial on this subject and post it to the forums if you'd like. Saves Jacek the time to make a video about it. It's really simple so there's really no need for a video tutorial.
Search found 38 matches
- Fri May 11, 2012 11:39 am
- Forum: Suggestions
- Topic: Change and forgot password for the login system
- Replies: 4
- Views: 1375
Re: Change and forgot password for the login system
- Mon May 07, 2012 9:30 pm
- Forum: Tutorials
- Topic: Add first name and last name to the register system help me.
- Replies: 3
- Views: 1051
Re: Add first name and last name to the register system help
I'm sure I replied to this already ! Oh well, double explanation ! In the add_user() function you need to modify the INSERT query to account for the new columns. It would also be a good idea to add the new $_POST fields to the isset check and do some simple validation like with all the other fields...
- Mon May 07, 2012 7:34 pm
- Forum: Suggestions
- Topic: Change and forgot password for the login system
- Replies: 4
- Views: 1375
Re: Change and forgot password for the login system
No u only need this bit then its the best login system i ever had seen i love itjacek wrote:I could. The login system has already had too many addons though
- Mon May 07, 2012 9:09 am
- Forum: Tutorials
- Topic: Add first name and last name to the register system help me.
- Replies: 3
- Views: 1051
Add first name and last name to the register system help me.
Hello I have tryed to fix the first name and last name for the register system. But i can't get it to work it well not put the date to my mysql. here is the register.php code: <?php include('core/init.inc.php'); $errors = array(); if (isset($_POST['username'], $_POST['password'], $_POST['repeat_pass...
- Sun May 06, 2012 10:08 pm
- Forum: Suggestions
- Topic: Change and forgot password for the login system
- Replies: 4
- Views: 1375
Change and forgot password for the login system
Hello
It could be nice that u can make an change password and forgot password for the login system u have done
Or maby do so ppl get a new random code if they forgot the password so they can change it again.
Regards
Hys
It could be nice that u can make an change password and forgot password for the login system u have done
Or maby do so ppl get a new random code if they forgot the password so they can change it again.
Regards
Hys
- Sun May 06, 2012 6:45 pm
- Forum: Tutorials
- Topic: User Profile with your login system.
- Replies: 50
- Views: 10456
Re: User Profile with your login system.
i found out thanks anyway :d
- Thu Apr 26, 2012 1:12 pm
- Forum: Tutorials
- Topic: User Profile with your login system.
- Replies: 50
- Views: 10456
Re: User Profile with your login system.
i have a problem now :s i deleted all my mysql and can't do the same as i had done
- Mon Feb 06, 2012 10:33 pm
- Forum: Tutorials
- Topic: User Profile with your login system.
- Replies: 50
- Views: 10456
Re: User Profile with your login system.
Omg :d and i couldt see that hehe sorry for that mate
i have a question more how much code do i have to make if i want to see when users are online ? like when u click user list then u see the name " Bob (online)" .
Hys
i have a question more how much code do i have to make if i want to see when users are online ? like when u click user list then u see the name " Bob (online)" .
Hys
- Mon Feb 06, 2012 8:23 am
- Forum: Tutorials
- Topic: User Profile with your login system.
- Replies: 50
- Views: 10456
Re: User Profile with your login system.
Can it be this?
$sql = 'SELECT `user_name` FROM `users` WHERE `user_id` = '{$username}'';
- Sun Feb 05, 2012 6:41 pm
- Forum: Tutorials
- Topic: User Profile with your login system.
- Replies: 50
- Views: 10456
Re: User Profile with your login system.
waiting for jacek to look at code
- Sun Feb 05, 2012 9:54 am
- Forum: Tutorials
- Topic: User Profile with your login system.
- Replies: 50
- Views: 10456
Re: User Profile with your login system.
waleed3011, please don't take the code try go true the tut vids.
i had to past all my code so he could help me.
i had to past all my code so he could help me.
- Sat Feb 04, 2012 9:56 am
- Forum: Tutorials
- Topic: User Profile with your login system.
- Replies: 50
- Views: 10456
Re: User Profile with your login system.
Okay here is all the code i have. login.php <?php include('core/init.inc.php'); $errors = array(); if (isset($_POST['username'], $_POST['password'])) { if (empty($_POST['username'])) { $errors[] = 'The username cannot be empty.'; } if (empty($_POST['password'])) { $errors[] = 'The password cannot be...
- Fri Feb 03, 2012 5:06 pm
- Forum: Tutorials
- Topic: User Profile with your login system.
- Replies: 50
- Views: 10456
Re: User Profile with your login system.
Check site one. and the top i passed the code and the problem i have
i have tryed so menny things but nothing is working for me at all.
i have tryed so menny things but nothing is working for me at all.
- Thu Feb 02, 2012 11:31 pm
- Forum: Tutorials
- Topic: User Profile with your login system.
- Replies: 50
- Views: 10456
Re: User Profile with your login system.
its still not working :s i well be really glad if someone can find the problem and say whats wrong. :s
- Wed Jan 25, 2012 4:21 pm
- Forum: Tutorials
- Topic: User Profile with your login system.
- Replies: 50
- Views: 10456
Re: User Profile with your login system.
When i take this code out of init.inc.php function fetch_current_user_id($username){ $username = mysql_real_escape_string($username); $sql = 'SELECT `user_id` FROM `users` WHERE `user_name` = '{$username}''; $result = mysql_query($sql); return mysql_result($result, 0); } if(empty($_SESSION['uid'])) ...
- Wed Jan 25, 2012 3:45 pm
- Forum: Tutorials
- Topic: User Profile with your login system.
- Replies: 50
- Views: 10456
Re: User Profile with your login system.
Oh my gosh,
How do i make a localserver so i can try it myself
Regards
Hys
How do i make a localserver so i can try it myself
Regards
Hys
- Wed Jan 25, 2012 9:18 am
- Forum: Tutorials
- Topic: User Profile with your login system.
- Replies: 50
- Views: 10456
Re: User Profile with your login system.
Hi, no the server is not down. the only file i have changed is the init.inc.php i have not changed the other sites. when i delete this code function fetch_current_user_id($username){ $username = mysql_real_escape_string($username); $sql = 'SELECT `user_id` FROM `users` WHERE `user_name` = '{$usernam...
- Tue Jan 24, 2012 11:00 pm
- Forum: Tutorials
- Topic: User Profile with your login system.
- Replies: 50
- Views: 10456
Re: User Profile with your login system.
Hi there now i used the code u send me and i putted it into init file init.inc.php <?php function fetch_current_user_id($username){ $username = mysql_real_escape_string($username); $sql = 'SELECT `user_id` FROM `users` WHERE `user_name` = '{$username}''; $result = mysql_query($sql); return mysql_res...
- Tue Jan 24, 2012 6:08 pm
- Forum: Tutorials
- Topic: User Profile with your login system.
- Replies: 50
- Views: 10456
Re: User Profile with your login system.
function fetch_current_user_id($username){ $username = mysql_real_escape_string($username); $sql = 'SELECT `user_id` FROM `users` WHERE `user_name` = '{$username}''; $result = mysql_query($sql); return mysql_result($result, 0); }
- Tue Jan 24, 2012 9:52 am
- Forum: Tutorials
- Topic: User Profile with your login system.
- Replies: 50
- Views: 10456
Re: User Profile with your login system.
Hi mate I'm really glad that u help me but its still not working getting a blank site
im confused now
Regards
Mike aka hys
im confused now
Regards
Mike aka hys
- Tue Jan 24, 2012 9:23 am
- Forum: Tutorials
- Topic: User Profile with your login system.
- Replies: 50
- Views: 10456
Re: User Profile with your login system.
Hello again :) Now i changed the table to my info. its still not working :D empty site Where shall i put an error to look whats going on. Regards Mike aka hys <?php function fetch_current_user_id($user_id){ $sql = 'SELECT `user_id` FROM `users` WHERE `user_name` = '{$_SESSION['username']''; $result ...