Sorry to be offtopic but does any of you know of a tool to log back into an Instagram account? I stupidly lost the login password. I love any tricks you can offer me.
@Thiago Mitchell Thanks for your reply. I found the site through google and I'm trying it out now. Takes a while so I will get back to you later when my account password hopefully is recovered.
A good tutorial, but dear why you are setting again the values with javascript, the tutorial suppose to login the user without showing login page once the cookie is set. If they will click again on login button there is no use of using cookies they can simply save in browser. Check cookies, if valid skip login form and goto welcome.
I got it to work, then wondered about security, found a different tutorial on that, but it's code is broken. Am looking through your other videos for help with that. Do any of them address login security issues, database usage, and so on? Also, it would be really helpful if the coding was put in the video descriptions of your videos. I learn a lot from typing it all up, but I make mistakes that are hard to find and fix, since VBS Code doesn't do good debugging. Anyway, copying and pasting the code, and watching the videos all the way through would be a lot better for people like me who want to learn but just make dumb typos.
Where is the security concerns? If you save user id and password into cookies, then anyone can see your actual password. Is that really true example of auto login?
He already said this is not a proper way to save cookies. you have to encrypt email and password and then save. you can use md5 to encrypt email and password in php.
This only remembers the e-mail and password you write on the login.php section, but I want this code to remember whater we type it to e-mail textbox and password textbox not just the one we declared on login.php
Generally websites do have remember me option but ..even then email and password cant be seen in looking browser cookie section.. Its bit unsecure Which method we should use if we dont want passwords and email to be shown in browser cookie (settings section).
Don't store password or username in cookie, better to make a random hash and store it to database, on return to login page check if that hash matched with a stored and login user back
You can use whatever you want to make hash, you can make for example $hash = sha1(microtime(mt_rand(20-80))); so it will create hash with a number between 20-80 characters long. At least you can make a function to make more complex hash, and to validate it just reverse order of functions.
sir you should clear all the things u have added in it why u r using -1 and what changes u made I didn't get . I think there is some problem with ur video and audio . you are doing something and saying somthng
Ali Al Harthi that’s actually 7 hours. And your code is is actually multiplying by current time so yeah a mess, he got it right as + but it was not 7 days.
Ali Al Harthi you can also see on the cookie’s details: Created: Tuesday, 15 March 2016 at 22:02:17 Expires: Wednesday, 16 March 2016 at 05:02:17 Exactly 7 hours after creation.
after login i click back button from home page to login page and click forward button it is going to homepage without asking login details how to fix it please help me
sir जी कोई भी व्यक्ति इंडेक्स के पेज को यूआरएल से भी तो खोल सकता है बिना लॉगिन करे तो हम ऐसा क्या करे की कोई भी बिना लॉगिन के इंडेक्स पेज को न देख पाए इ if else conditions का इस्तमाल करे तो कितनी बार करे मेरे इंडेक्स पेज में 42 फॉर्म action url है
I don't get this! one of the basic tenets of php sessions is that start_session() must be the first thing on the page. Here, in his validate.php he starts a session in the middle of a mess IF() statements. How does that work?
Hello! I am trying to include an email into my validation form and have been following another tutorial so would appreciate if you could provide me with some assistance while maintaining the same structure... I want to include a rule where certain symbols such as @ is required but not sure how to do it in my form. Here is part of my code..
Great sahani bhai
Thank you.
i have solved my problem.
Nice sir👍👍👍👍👌👌👌
Thank you!
ThankYou Sir, This video is very helpful in my project. very clearly you explain this remember password in this video!!
Setting a cookies with password is not necessary it will lead to vulnerability of your personal account. Thank you for this video.
Then what you supposed to do instead for remember password??
Really good tutorial to demonstrate the concept of cookies and sessions.
Sorry to be offtopic but does any of you know of a tool to log back into an Instagram account?
I stupidly lost the login password. I love any tricks you can offer me.
@Grayson Alan Instablaster =)
@Thiago Mitchell Thanks for your reply. I found the site through google and I'm trying it out now.
Takes a while so I will get back to you later when my account password hopefully is recovered.
@Thiago Mitchell it did the trick and I finally got access to my account again. Im so happy!
Thanks so much, you really help me out !
@Grayson Alan No problem xD
simple and usefull , i got what i want, thanks
A good tutorial, but dear why you are setting again the values with javascript, the tutorial suppose to login the user without showing login page once the cookie is set. If they will click again on login button there is no use of using cookies they can simply save in browser.
Check cookies, if valid skip login form and goto welcome.
I agree
Ya. Absolutely right. But ya nice tutorial btw.
Very good tutorial.thank you
A good example indeed!
Thanks..!!
Nice Video ✔
You have a special ❤ content here
Great job, man 👏
dont store sensitive information in session nor cookie
so where should i store??
@@codewithbishal1677 database but I'm to lasy too so I wont
It's really intersting thank you sir
Nice video. Thanks for the clear example!
helpful video on cookies and session variables
nice man🌹✔
Thanks sir
I got it to work, then wondered about security, found a different tutorial on that, but it's code is broken. Am looking through your other videos for help with that. Do any of them address login security issues, database usage, and so on? Also, it would be really helpful if the coding was put in the video descriptions of your videos. I learn a lot from typing it all up, but I make mistakes that are hard to find and fix, since VBS Code doesn't do good debugging. Anyway, copying and pasting the code, and watching the videos all the way through would be a lot better for people like me who want to learn but just make dumb typos.
Prefer code with Harry php tutorials
hello... sahani ji what's up bro, This is very useful tutorial for cookie & Session.
Thank u Very Much Durgesh,........Good Effort
best cookie example ever seen on youtube ....Thank you so much (y)
some links ? Venkey if u know better than this
merci c'est un très bon tuto . mais je crois que la récupération avec
" if (isset($_REQUEST['login'])) {
extract($_REQUEST); } " est plus rapide .
i love this toturail .................
Where is the security concerns? If you save user id and password into cookies, then anyone can see your actual password. Is that really true example of auto login?
He already said this is not a proper way to save cookies. you have to encrypt email and password and then save. you can use md5 to encrypt email and password in php.
Great guide, thank you sir.
anna Edit ah click panna form open aaga mathithu na .... Form show aagala bro but menu matu show aaguthu na
thank you
Good Understand
very helpful for beginners
easy & very helpful info, thanks but is there any way to acces $_SESSION variable by json/ajax in javascript?
This only remembers the e-mail and password you write on the login.php section, but I want this code to remember whater we type it to e-mail textbox and password textbox not just the one we declared on login.php
please upload video for login form to fetch userid and password from database
😍😍😍 bro
How do I set Custom cookies in session. Then User never be see in browser cookies section how do i do
the probleme now I can access directly to Welcome.php from the link, how can I make it the same as validate.php, access must be via email/pass?
Generally websites do have remember me option but ..even then email and password cant be seen in looking browser cookie section.. Its bit unsecure
Which method we should use if we dont want passwords and email to be shown in browser cookie (settings section).
Don't store password or username in cookie, better to make a random hash and store it to database, on return to login page check if that hash matched with a stored and login user back
Is it a standard way ... Should I Use md5 algorithm?
You can use whatever you want to make hash, you can make for example $hash = sha1(microtime(mt_rand(20-80))); so it will create hash with a number between 20-80 characters long. At least you can make a function to make more complex hash, and to validate it just reverse order of functions.
In login.php file inside tag you are using variables $email and $pass inside quotes. Is it right?
better don't use this code your site will be hacked so easy
yeaah,... SQL Injection is a bastard
@@harshitjain7338 then using placeholders good idea?
where can download?
sir you should clear all the things u have added in it why u r using -1 and what changes u made I didn't get . I think there is some problem with ur video and audio . you are doing something and saying somthng
Hi Dear Durgesh
Thank you very much
I think that you have missed the digit 24 in "time()*60*60*7". Because you do 7 minutes not 7 days
Ali Al Harthi that’s actually 7 hours. And your code is is actually multiplying by current time so yeah a mess, he got it right as + but it was not 7 days.
Ali Al Harthi you can also see on the cookie’s details:
Created: Tuesday, 15 March 2016 at 22:02:17
Expires: Wednesday, 16 March 2016 at 05:02:17
Exactly 7 hours after creation.
It it helps anyone that wants 7 days it would be time() 86400 * 7
could i get the code please??
How you mage url tutorila/.. something which server application you use
I am using virtual host for it. For more details please check this ua-cam.com/video/SrK7yVwkE-k/v-deo.html
after login i click back button from home page to login page and click forward button it is going to homepage without asking login details how to fix it please help me
Hmm? Sounds like your cookies, sessions are set. Isn't that supposed to be the case?
Sir can u help to user login date and time or ip address store in data base
code bhi daal dete bhai description me
sir जी कोई भी व्यक्ति इंडेक्स के पेज को यूआरएल से भी तो खोल सकता है बिना लॉगिन करे तो हम ऐसा क्या करे की कोई भी बिना लॉगिन के इंडेक्स पेज को न देख पाए इ
if else conditions का इस्तमाल करे तो कितनी बार करे मेरे इंडेक्स पेज में 42 फॉर्म action url है
sir can pz send the source code
Please share your code with us
hello sir why use cookies
Check this video ua-cam.com/video/oWuCQkDQi-s/v-deo.html
here I have explained what is cookie.
I don't get this! one of the basic tenets of php sessions is that start_session() must be the first thing on the page. Here, in his validate.php he starts a session in the middle of a mess IF() statements. How does that work?
You can put it wherever you want inside ,as long as it is above html tags ..
at the time of revision your video going forword !
Hello my name is Richald flom Miclosoft techsuppolt
Hi, your video and audio not sync after few munites can you mute your audio re-record your audio and just add the soundtrack .
you can mute the video and can play the audio you want on another media player...:)
audio and video synchronization is very bad.
but still, tutorial was helpful :)
well, it is not about the main subject of this video but can i ask you how to change "localhost" to "tutorials" ?
instead of .value .InnerHTML would work
Hello! I am trying to include an email into my validation form and have been following another tutorial so would appreciate if you could provide me with some assistance while maintaining the same structure... I want to include a rule where certain symbols such as @ is required but not sure how to do it in my form. Here is part of my code..
"hello friends hamburgesa ani"
sorry XD
A lot of mistake in this video 😠👎👎👎
your style of presenting tutorial is not good. work on your tutorial before you upload. make sure not much surprises exist in vdo.
not understandable your video..
your writing is so slow.work on it.thank
Well done sir