Это видео недоступно.
Сожалеем об этом.
How To Upload Any Type Of File Using PHP And Ajax
HTML-код
- Опубликовано: 5 дек 2018
- Hello World! Today in this video I'm showing you how to upload any type of file using Bootstrap 4, PHP and Ajax.
Download the Source code of form page : codepen.io/sahil4rock/pen/JegdjP
#fileUploadPhpAjax
#uploadFilePhpAjax
If you like my works and my video tutorials then you can donate me some amount. You can donate through these links :
Paypal : www.paypal.me/wolfmania
Instamojo (Credit/Debit Card & UPI) : www.instamojo.com/@wolfmania
Thanks for watching this video. If you like this video then hit like button, share this video, And Subscribe my Channel. Also like my Facebook page for latest updates.
♥ Facebook Page - / dcodemania
♥ Myself On FB - / sahil4rock
♥ Instagram - / sahil4rock
♥ Twitter - / dcodemania
Great tutorial dude, Thank you so much!
Thanks, bro can always rely on you to save me.
Great i got the answer. done
Nice 👍
Thanks Deepak!! Also subscribe this channel!!!
@@DCodeMania I hv already subscribed sir
well
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.
Auto-complate search tutorial need too Bro. ....
I'll make it too
How to upload 1gb video file to the server
sorry where the source code ? it's not found. can you give me a link for download source code ?
The source code link did not work
it's not working in my case. i use php 7.2.34 and mysql 5.7.36
i solve the problem
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?