Комментарии:
Thanks
Ответитьwhy request.open('post') and not 'put'? (very useful vid btw, thank you so much!)
Ответить👏
ОтветитьHi, I wanted to ask how in the beginning you link the check-login.php file to the index.html file because I don't get anything on the webpage in the network tab of inspect
Ответитьnot a secured way....
ОтветитьDon😎
ОтветитьThanks you a lot, this was very clearfly
Ответить👌👌👍👍
Please provide css file link in the description please
Thanks helped a lot subscribed .
ОтветитьHow to pass checkbox array??
ОтветитьTHANKS FOR TEACHING THIS FOR FREE
ОтветитьSo no need to use header('content-type: application/json') in the php script ? is json_encode() just enough ?
ОтветитьIs the username and password is already set example the dcode?
ОтветитьYou sound like Rowan from Viva La Dirt League.
ОтветитьHi, great tutorial. I am actually new to PHP and I am really confused about how to start writing in PHP? Which program do I need to install to get started? Thanks
Ответитьplease help
i have issues when using mysqli functions in check-login.php
error in console "could not parse json"
Thank u so much for such a valuable tutorials...❤❤
ОтветитьThank You very much! You've helped me a lot! Nothing I can do for you but subscribed your channel and give you a BIGGGG thumb! You are wonderful! Thanks!
Ответитьcatch error ?? could not parse JSON i don't know why ?
ОтветитьThanks. I've been trying to use that with prepared statements to avoid sql injection attacks, your tutorial (and some research on Stack Overflow alongside with the php docs) helped me to actually understand how to pass my params into the prepared statement function. Seeing as to how bad my usage of this is because of the repetative code I have to use in my case while writing the logic for my prepared statements, I'm better off making my own php framework or something.
ОтветитьThanks a lot 'dcode' I learned it completely ♥
Ответитьif i use form tag instead of div, will the click fn work ?
Ответитьwhat you have taught us is just awesome. i told you i intend to use procedural way to submit the form after the js validation. but it is more than that. i'm gonna implement this in my project. Thanks mate!
ОтветитьMy current dilemma is that the form works and sends the info to the mysql database but it's all in small letters even if I'm using caps lock, I want to be able to use small and capital letters so how do I accomplish it?
ОтветитьSir i am using firebase and npm, this web not using PHP file, if you were me what would you do ?
ОтветитьI did it successfully as your tutorial. I'm using it in a multi-step form. I want to hide the login form and show another module from php at that same file once $_POST data will match with php condition. Thanks in advance.
ОтветитьCan i Integrate this with django the same way?
ОтветитьHello sir, I have question, I just watched the video and haven't tried to code it yet, but in the else statement you remove a firstChild which is already empty in the ul. My question is: Why you need to remove a firstChild if inside of a parentElement was already empty?
ОтветитьHello sir !!
There isn’t any short way?
You are awesome dude!!
I wanna give you 100000000000000 likes!!
ThNks a lot dude
thank you for this , i have problem when i try to get responseObj = JSON.parse(xhr.responseText) console log to me Unexpected token < in JSON at position 0 :(
ОтветитьHey dcode! Thanks a lot for this tutorial! I am wondering if you know a way to bypass the CORS issue I seem to be having? Every time I submit the login, it says it has been blocked by CORS policy. Thank you for your time!
Ответитьhi sir did u have tutorial using simple database for ajax tutorial
ОтветитьThanks for video what keyboard do you use? The switches sound nice
ОтветитьWhat is the difference between using js ajax for form registration and PHP
Ответитьnice tutorial, but i can't get this code working. Every input in the login form pops out the errors "Password can not be empty!, Username can not be empty!" i don't really get whats wrong
ОтветитьI have one problem --> this check-login.php is going on post as an action to server and response with answer but I had another php file going on post action and I don't know how to merge this 2 different php file and make one file to say to server as post and get them to work too
any Solution???
I thought that in a registration format you need to use a database, to hash the password and then verify if its correct using PDO or mysqli...
Ответитьthanks a lot for this tutorial ! I have seen a lot of tutorials but this is one the best ones :)
ОтветитьYou explained it very well, thanks!
ОтветитьCan I have ur email?
ОтветитьThank you !
Ответить