i was wondering if anyone could help me, i'm creating a login form in which either the admin, employers or the employees can sign in. my problem is that depending on the type of user who signs in, they will be able to have different permissions. e.g. admin can add/remove (a/r) employers, a/r employees and a/r reviews, employers can a/r employees and a/r reviews, however, the employess can only view thier reviews. how can i redirect the users depending on thier type e.g. admin? cheers
i wanna download the files but not to sure if i should seeing a few people had problems with virus malware attempting to load on their system with those links. Then u say u replaced it and hpefully that should stop it, i dunno, i'll skip this one for now, dont blame me for your bad.
All in the world google adsense approval and genuine account within 2 hour and all so deals genuine earning tricks and account making contact us 03336521567
How can I make premium account to my site? So when a user signs up, he will be asked: what type of account do you want to have? And insert there: normal, premium, power, gold, platinum and lifetime. How to create a script for that? I have 1 SQL database. I want to create for each type of account the time that they have that type of account. After that the account will downgrade itself to the normal type. I want the users that have premium accounts to be able to download files from my website.
How can I make premium account to my site? So when a user signs up, he will be asked: what type of account do you want to have? And insert there: normal, premium, power, gold, platinum and lifetime. How to create a script for that? I have 1 SQL database. I want to create for each type of account the time that they have that type of account. After that the account will downgrade itself to the normal type. I want the users that have premium accounts to be able to download files from my website.
I would rather leave this comment then remove it. I can certainly say 2 years leaves a LOT of room for advancement, but I have no time to correct these videos. If you can, then by all means please make a video of the same topic. I will be more the happy to link it here so they will get a better understanding. If not, then your response is useless, and please go back under that rock you have crawled from and stop being an ahole.
ok ive sorted that problem now, in future joseph could you let us know when you change the name of the database from 'mysite' to 'users', secondly i think something is missing from the code you put up because now when i try to login with the wrong name and password it just lets me login and when i logout it gives me a blank screen.
Just save it as a .php file and it is ready to go, however you either need a local webserver with php enabled. Or you need an online webserver with php enabled.
holy crap your right.... I had some random add javascript at the bottom that was never added to my index.php ... its been removed so hopefully that should stop it.
Can you provide us with a video or code that if they don't have an account they can go ahead and create one. Also if they enter the wrong username or password will this bring them back to the login page?
I will do :). I've just been sponsored by my very work! So I'll be creating brand new videos, hopefully at a better quality and teaching then my rest.
considering my website has been down for the past 2 weeks i doubt that is possible. I've gotten several Reports of malware on the site so I've moved to a new host dropping all my files except for my blog.
Dude, this code is vunerable for mysql injection. When you make a query, you need mysql_real_escape_string(), not htmlentities. Htmlentities was made for converting html to text.
Henk, you are absolutely correct. However I already use mysql_real_escape_string in this screencast. If watch it all the way through that is. Also I only used htmlentities becuase this continues a previous tutorial about a login system without mysql and how harmful user input can be. So when ever you display user input to the browser filter it, i.e htmlentities.
i was wondering if anyone could help me, i'm creating a login form in which either the admin, employers or the employees can sign in. my problem is that depending on the type of user who signs in, they will be able to have different permissions. e.g. admin can add/remove (a/r) employers, a/r employees and a/r reviews, employers can a/r employees and a/r reviews, however, the employess can only view thier reviews. how can i redirect the users depending on thier type e.g. admin? cheers
joshmizzle 2 weeks ago
i wanna download the files but not to sure if i should seeing a few people had problems with virus malware attempting to load on their system with those links. Then u say u replaced it and hpefully that should stop it, i dunno, i'll skip this one for now, dont blame me for your bad.
jasonn9000 1 month ago
@jasonn9000 The file is no longer available for download.
gorilla3d 1 month ago
next time zoom out on your freaking code a bit plz. thanks
AnonTechGroup 3 months ago
well better to use cookies than session's
TheLegendScopez 6 months ago
All in the world google adsense approval and genuine account within 2 hour and all so deals genuine earning tricks and account making contact us 03336521567
Thanks for uploading this video..
Ramzan1956 7 months ago
This has been flagged as spam show
Why we need a, latin bitch busizz4me.info
DonsanUsake569 11 months ago
Code not found
Foaman 1 year ago
thx for lessons im watching all
mcyegen55 1 year ago
How can I make premium account to my site? So when a user signs up, he will be asked: what type of account do you want to have? And insert there: normal, premium, power, gold, platinum and lifetime. How to create a script for that? I have 1 SQL database. I want to create for each type of account the time that they have that type of account. After that the account will downgrade itself to the normal type. I want the users that have premium accounts to be able to download files from my website.
eddyterminator 1 year ago
How can I make premium account to my site? So when a user signs up, he will be asked: what type of account do you want to have? And insert there: normal, premium, power, gold, platinum and lifetime. How to create a script for that? I have 1 SQL database. I want to create for each type of account the time that they have that type of account. After that the account will downgrade itself to the normal type. I want the users that have premium accounts to be able to download files from my website.
eddyterminator 1 year ago
check this
sudarshansoft com
xs2solutions 1 year ago
I go good stuff on below
sudarshansoft com
xs2solutions 1 year ago
Comment removed
xs2solutions 1 year ago
Comment removed
xs2solutions 1 year ago
why cant I see the playlist as a WHOLE? i can only choose next... who is the moron behind re designing what isn't broken?
Onompoly 1 year ago
thank you nice guide
ellac007 1 year ago
Visit my channel. I offer a Free PHP User Registration System including: Log in, Log out, Register New User, Update User Profile
ashperfectimage 1 year ago
what software u using?
MrDinms3 1 year ago
This has been flagged as spam show
join my hamchi creat account at 5.163.200.157
SnowBlizz
pass 123
need gms and event creators
snowfox56 1 year ago
Luke, i want to cut you first 4 letters of your name.
Thats will eb fine IDIOT
farmor1234 2 years ago
Good tutorial, dont listen to Lukeidiot, he is exactly what the last part of his name states.
LaLigaOfficial 2 years ago
I would rather leave this comment then remove it. I can certainly say 2 years leaves a LOT of room for advancement, but I have no time to correct these videos. If you can, then by all means please make a video of the same topic. I will be more the happy to link it here so they will get a better understanding. If not, then your response is useless, and please go back under that rock you have crawled from and stop being an ahole.
gorilla3d 2 years ago
he has no idea about what is saying... He is a novice
tomskaria 2 years ago
This has been flagged as spam show
Checkout my MYSQL Brute Force
watch?v=dMIjDgWbF98
L2DragonHunter 2 years ago
uuuhhhmmmmmm?
s0fa 2 years ago
This has been flagged as spam show
Check out my tutorials about PHP. I have a very good PHP login tutorial check it out. Dont Miss!
TrueLifeWebStudios 2 years ago
The guy is so shy. He's stuck for words like all the time. ^^
ShevaFC 2 years ago
tyvm 4 dis awesome lesson
abdoradhy 2 years ago
ok ive sorted that problem now, in future joseph could you let us know when you change the name of the database from 'mysite' to 'users', secondly i think something is missing from the code you put up because now when i try to login with the wrong name and password it just lets me login and when i logout it gives me a blank screen.
please can someone help me!
fadermusprime 2 years ago
hey can someone help?
the username and password fields come up fine with the first page but when i try login with the correct or wrong name and password i get this error:
MySQL Error: Cannot select table
i think its something to do with this part of the code on login.php:
$db_host = 'localhost';
$db_user = 'root';
$db_pass = '';
$db_db = 'users';
but im sure this is right because i only have a default MySQL privileged account. anyhow please could someone help its annoying me big time,
thanks.
fadermusprime 2 years ago
der is problem with ur
$db_pass=";
it should be
$db_pass="";
naveedhassan 2 years ago
I didn't watch nor listen to the video, just quickly skimmed through it. Is that a PHP Compiler? Can you link me to the one you have if it is?
2k8bomb 2 years ago
You don't need to compile PHP.
Just save it as a .php file and it is ready to go, however you either need a local webserver with php enabled. Or you need an online webserver with php enabled.
TendencyDriven 2 years ago
Yeah I know but I wanted a compiler, I just find it easier.
I got one anyways so no worries.
2k8bomb 2 years ago
you can't "compile php" just get Notepad++
IncludeAustin 2 years ago
What I ment was writting a php script, then getting the program to output it. But I already have one, and it's working fine.
2k8bomb 2 years ago
ys babe good i love php language for program and php language easy
شكراً جزيلاً لك على هذه الدروس الرائعة وانا مبرمج عدة مواقع في لغة الـ php
networkarab 2 years ago
hamdii hamdiii
PAKIZFOLYFE786 2 years ago
what a world.
hannahrockyou 3 years ago
test
hannahrockyou 3 years ago
nice.
hannahrockyou 3 years ago
WARNING TO OTHERS!!!
weird...I clicked on your link in the sidebar and my computer detected and blaocked a trojan
Kevtheman25 3 years ago 6
holy crap your right.... I had some random add javascript at the bottom that was never added to my index.php ... its been removed so hopefully that should stop it.
gorilla3d 3 years ago 2
Really? Because those links work fine for me.
This method of creating a login is good for a beginner but there are better ways of creating a user login than this.
sedativechunk 3 years ago
I'm looking for a website coder to do some freelance work.
Contact me urgently at
will(at)artisticintension(dot)co(dot)uk
yanitor 3 years ago
fuck urself! dont comment rubbish in innocent people vids!!
very nice gorilla3d! u rock!!! thnx allot!
nextblain 3 years ago
Can you provide us with a video or code that if they don't have an account they can go ahead and create one. Also if they enter the wrong username or password will this bring them back to the login page?
Tech264 3 years ago
I will do :). I've just been sponsored by my very work! So I'll be creating brand new videos, hopefully at a better quality and teaching then my rest.
gorilla3d 3 years ago
非常喜欢你的PHP教程!
tian2008 3 years ago
What IDE are you using in this video?
JaxDragon1 3 years ago
i don't know what to put for the
$db_db = 'animerie_users'
part. Does someone know where i can find mine?
TomboFry 3 years ago
How come I don't see this code on the website?
Tech264 3 years ago
which website?
TomboFry 3 years ago
omg thats insane i am new buliding a website but dang this is crazy if anyone wants to help my build my website pleasse msg
stickpersonwashere 3 years ago
lol I clicked on the link and I almost got a virus.... wow..
NIGHT5ER 3 years ago
considering my website has been down for the past 2 weeks i doubt that is possible. I've gotten several Reports of malware on the site so I've moved to a new host dropping all my files except for my blog.
gorilla3d 3 years ago
Dude, this code is vunerable for mysql injection. When you make a query, you need mysql_real_escape_string(), not htmlentities. Htmlentities was made for converting html to text.
HenkAnnieNaald 3 years ago
Henk, you are absolutely correct. However I already use mysql_real_escape_string in this screencast. If watch it all the way through that is. Also I only used htmlentities becuase this continues a previous tutorial about a login system without mysql and how harmful user input can be. So when ever you display user input to the browser filter it, i.e htmlentities.
gorilla3d 3 years ago
how about a mysql registration?
lplieutenant 3 years ago
den katalavainw tipota!!!!!!!!!!!!!
lagoudaki29 3 years ago
What screen recorder are you using?
FavoriteDesigns 3 years ago
You do some Very good vids i love ur tuts
Thanks so much for your tuts
webgeek09 3 years ago
lol u love his tits
hsttom 3 years ago
not my fault u cant read
webgeek09 3 years ago
great vid keep up the good work
webgeek09 3 years ago
get some not crappy speackers and you might here him like the rest of us idiot
flyboy5500 3 years ago
Oh wow, I would like that sql injection script, I wouldn't want people to be hacking into my site and getting into my database.
motorspear903 3 years ago
hey can you send all the codes to my email i will send it to you in a msg
3446698 3 years ago
Great info, man. I prefer the black background though.. ;-)
IPcalypse 3 years ago
This comment has received too many negative votes show
yeh but I assume you didnt cuz your dif race lol. "Me no speak english" r0fl....
iExcelStudio 3 years ago
did any of you guys get a word he said lolz?
skyeviolet2 3 years ago
thanks
mohannad121232 4 years ago
thanks
mohannad121232 4 years ago
Comment removed
where221 4 years ago