No you can't use serialize() because serialize() method creates a URL encoded text string by serializing form values.....but we are sending a file also that's why we use FormData there..... And yes you can use prepared statement for inserting data into database.
I'm watching your secure login sign up part where you have sent data with ajax action okay fine but I'm facing undefined index file variable ? I want to upload image with sign up process ?
Sir I've watched your total complete login tutorial but sir you have used isset there..when I'm trying to upload image file through the registrationa form I'm getting error of undefined index
Great tutorial dude, Thank you so much!
Thanks, bro can always rely on you to save me.
One question can I use here serialize method and prepare statement in case of file uploading?
No you can't use serialize() because serialize() method creates a URL encoded text string by serializing form values.....but we are sending a file also that's why we use FormData there.....
And yes you can use prepared statement for inserting data into database.
Sir one question if I want to show danger alert in case of failed file upload.Here you are showing every message in alert success. how to do that?
U can specify message with danger or success in any html tag in PHP script in place of just simple message.
Great i got the answer. done
Nice 👍
Thanks Deepak!! Also subscribe this channel!!!
@@DCodeMania I hv already subscribed sir
Auto-complate search tutorial need too Bro. ....
I'll make it too
The source code link did not work
How to upload 1gb video file to the server
it's not working in my case. i use php 7.2.34 and mysql 5.7.36
i solve the problem
sorry where the source code ? it's not found. can you give me a link for download source code ?
well
Why didn't u used *isset* ?
I'm using ajax here that's why I've not used.....you can use but you have to send extra data from ajax request.
I'm watching your secure login sign up part where you have sent data with ajax action okay fine but I'm facing undefined index file variable ? I want to upload image with sign up process ?
Sir I've watched your total complete login tutorial but sir you have used isset there..when I'm trying to upload image file through the registrationa form I'm getting error of undefined index
Sir please make a video on complete user profile system using PHP and ajax where after login user can change their profile picture and other details
Sir how to do that?