PHP Forum // Login and Logout



Autor: lifeg0eson666

Descrição:
Part 2 in PHP Forum Tutorial. Creating the login and logout functions. HD: http://www.neoblob.com/phpsquad/vids/forum/part2



Download .FLV | Ver Video Maior | Categoria: "Howto"

Categorias: css | forum | html | lifeg0eson666 | login | marcus | php | recck | sql |


Vídeo parecidos

PHP Forum // Basic LayoutPHP Login - Step 1PHP Tutorial: Installation and The Basics
php-forum-basic-layout.html php-forum-basic-layout.html php-forum-basic-layout.html
PHP Tutorial // User Login and CookiesPHP Tutorial // User Registration w/ SQLPHP Tutorial // User Registration w/ SQL 2 [Better]
php-forum-basic-layout.html php-forum-basic-layout.html php-forum-basic-layout.html


Divulgue este video:       StumbleUpon       del.icio.us       Reddit       digg       Furl       Spurl       Simpy       YahooMyWeb


Comentários: Mostrar || Fechar
Comentários escritos no Youtube
minor blunder. ... ( 3 months ago by runein)
minor blunder. fixed it:)
Shouldn't use ... ( 3 months ago by naishjam)
Shouldn't use variable names such as $sql1 and $sql2. It's not good coding practice since it doesn't make for intuitive code. In fact, you shouldn't be hard-coding SQL at all, but there you go.
Don't help the user ... ( 3 months ago by naishjam)
Don't help the user too much. Giving them specific error messages such as "The user does not exist." is bad for security. Just tell them that the username/password combination is wrong, then they have no idea whether or not the username they're trying to hack even exists.
Pretty cool i dont ... ( 3 months ago by robikris12)
Pretty cool i dont realy understand so mutch aboute php but is was nice.
Hi this video is ... ( 3 months ago by gvgreddy1)
Hi this video is not visible perfect source code, so please make another video clip for visible with big letters. thank U
While this code ... ( 3 months ago by naishjam)
While this code will work, there are many reasons why code should not be written in this way. Look into object-oriented programming (google: PHP classes and do some general background research on object-oriented programming). Once you start writing object-oriented code you will find that you have to write much less code when you come to change aspects of your site in the future. it's well worth it. Drop me a message on here if you want to know more.
With OOP you still ... ( 3 months ago by lifeg0eson666)
With OOP you still have to write out the error checking in the class and it's really just use to keep everything cleaner.
check the ... ( 3 months ago by lifeg0eson666)
check the description...
Well, with OOP you ... ( 3 months ago by naishjam)
Well, with OOP you wouldn't have just one class to do this. The main advantage of OOP is that it encapsulates and allows you to hide data and functionality which reduces the coupling between units of code. Of course, you still have to write the code, but by writing object-oriented code you will find pretty quickly that changes to your system take less time. Agreed, OOP is cleaner, but its strengths go much deeper than that, and it's certainly preferable to procedural code.
Don't get me wrong, ... ( 3 months ago by naishjam)
Don't get me wrong, I'm not trying to undermine your tutorial - I think it's great that you're helping to make web development more accessible to newcomers, but it is crucially important that people who are looking to write their own code learn and develop good coding practice. It's all about making code more secure, intuitive and maintainable.
I understand, but ... ( 3 months ago by lifeg0eson666)
I understand, but OOP isn't for the newcomers. IMO teach them simple coding that can breach far.
I would disagree ... ( 3 months ago by naishjam)
I would disagree myself, since OOP can simplify all aspects of programming. The basic principle takes a little getting used to - you're thinking about things, not actions - but once you get your head around that it really is a lot more straightforward than trying to write algorithms that or two or three hundred lines long. Furthermore, you need to learn best practice from day 1. Anyways, that's my opinion. This is your tutorial. But the guy said he was new and I offered help.
which video comes ... ( 2 months ago by TomboFry)
which video comes after this one?
your HD videos ... ( 1 month ago by KaelinPWNS)
your HD videos squeak and skip, :( and the sound is faster than the picture.
where did you learn ... ( 1 month ago by GeniusAndrey)
where did you learn php?
what a programm did you use on this video for recording
Warning: ... ( 1 month ago by Deospeon)
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/deospeon/public_html/forums/login.php on line 27 Sorry, The Username and Password are incorrect! Help?
Very good skills ... ( 1 month ago by soulisland)
Very good skills with PHP but I couldn't help but have a giggle with your JS attempt :)
where i can ... ( 1 month ago by b4uhits)
where i can download those files...that you have created in video. ....i really needed to integrate into my website...
Please.....
I am continuously ... ( 1 month ago by whitneyshoaf)
I am continuously having trouble with the following code: if($_SESSION['uid']){ $sql="SEELECT * FROM `users` WHERE `id`='".$_SESSION['uid']."'"; $res = mysql_query($sql) or die(mysql_error()); It comes up with the error that Notice: Undefined index: uid on line 60. Ideas for help on this would be appreciated.
look at line 60 ... ( 1 month ago by cf329rn)
look at line 60 mayb a spelling error or sumthin like that
There aren't any ... ( 1 month ago by whitneyshoaf)
There aren't any spelling issues. Could it be possible that 'uid' was never defined? I am not using PHPmyadmin to make my databases. I am using my own server. Could that be why? What is the['uid'] anyway?
lol When I was ... ( 1 week ago by Deospeon)
lol When I was using XP SP3, I never got this problem.
When I moved to Vista.. I got this problem.. then I was like wtf.. so I changed it to:
if(isset($_SESSION['uid'])){ code here... }
$_SESSION['uid'] so ... ( 1 week ago by Deospeon)
$_SESSION['uid'] so 'uid' is the name of the session you dum bum..
the database sends the user id to the session. If The User ID exists.. "Welcome" If not.. "Please Login"
damn look how his ... ( 5 days ago by aspcajaye)
damn look how his voice changes lol watch his user registration video and ull see wat im talking about...good video though




URL 
Embed Code