Upload & Save audio in MySQL database and play it (PHP Code)

  Рет қаралды 65,061

Gautam Mokal

Gautam Mokal

Күн бұрын

Пікірлер: 85
@andrewkamoha4666
@andrewkamoha4666 Жыл бұрын
After uploaded, how to validate the audio file in php?
@BIELZAGA
@BIELZAGA 3 жыл бұрын
Release the code, I did exactly the same, but it didn't work
@gavlorain3881
@gavlorain3881 4 жыл бұрын
Thank you so much for this video it really helps me in my study..🥰😍
@gautammokal
@gautammokal 4 жыл бұрын
Glad it was helpful!
@egen3212
@egen3212 Жыл бұрын
I'm trying to upload mp3 file with size 70mb and its not getting uploaded. Could you help please
@egen3212
@egen3212 Жыл бұрын
Pls let me know if you have any solution
@DhaifullahArsyafa
@DhaifullahArsyafa 5 жыл бұрын
i have some problem here, im following your step by step and also the query too, but when im click an upload audio button its always be a blank web.. no alert or no error and nothing happen, except the first try when you typing echo "upload.php/file"; on upload.php... any ideas of this?
@ismaelschaalma592
@ismaelschaalma592 4 жыл бұрын
too
@MK-lj5we
@MK-lj5we 6 жыл бұрын
hello is the whole code available somewhere to download ? and i was wondering if there is a way to read the audio files from a directory instead of DB ... Thanks
@luccagamboa1405
@luccagamboa1405 4 жыл бұрын
how to upload mp3 along with the image in php
@gautammokal
@gautammokal 4 жыл бұрын
You can create one more column for image and save the image file in it when saving audio in the database. On UI just show image and clicking on it audio should start. Please let me know if this helps.
@luccagamboa1405
@luccagamboa1405 4 жыл бұрын
@@gautammokal you can do the source code for me with database, could you help me
@chaocraticysmix1205
@chaocraticysmix1205 7 жыл бұрын
Awesome! Exactly what I was looking for....
@T30150792
@T30150792 5 жыл бұрын
This is not "Upload & Save audio in MySQL DB", but rather "Save audio PATH in MySQL DB"
@Funnyvideo-rh5hr
@Funnyvideo-rh5hr 5 жыл бұрын
why upload only ring tone means small file i am upload full song pls solve this problem
@TheJasvan
@TheJasvan 5 жыл бұрын
----->save_audio[ ]== upload array
@sax506
@sax506 4 жыл бұрын
Eso no es guardar el audio en MYSQL, solo está guardando el nombre en en un varchar...
@PrakashPraaku
@PrakashPraaku 7 жыл бұрын
I like this video, really informative. Thanks
@showunmioludotun3538
@showunmioludotun3538 6 жыл бұрын
The video is so helpful, mixed the codes with mine and got my result. but i am still looking for way to add download to the download arrow on the display
@showunmioludotun3538
@showunmioludotun3538 6 жыл бұрын
Anyone who can help, please contact me at showunmioludotun@gmail.com
@tejapolisetty3806
@tejapolisetty3806 6 жыл бұрын
just change the content type , i guess it will work
@ismaelschaalma592
@ismaelschaalma592 4 жыл бұрын
At 6:48 i got this error: Notice: Undefined index: audioFile in /****/*****/******/*****/upload.php on line 5 Notice: Undefined index: audioFile in /*****/*******/*****/*****/upload.php on line 7
@gautammokal
@gautammokal 4 жыл бұрын
Sorry for the delay in reply. The possibilities of the error could be slash character. can you please try with path having slashes as \\ instead of / or provide absolute full path instead of relative path. Please let me know if this helps
@eltikei2971
@eltikei2971 Жыл бұрын
amazing man, but it still can upload any files include jpg, mp4, etc
@dharmaduthbhowoniah6365
@dharmaduthbhowoniah6365 6 жыл бұрын
Is it necessary to upload it to the folder ? because as users will add songs, the folder will increase in size, this wont be a problem ?
@crysto123
@crysto123 6 жыл бұрын
database is not storing image/audio/video file...it only stores the path...actual file is stored in folder and plays from the folder..this lightens the load for the database
@dharmaduthbhowoniah6365
@dharmaduthbhowoniah6365 6 жыл бұрын
ok thank you :)
@ayushgupta-ib2kl
@ayushgupta-ib2kl 7 жыл бұрын
why i am not seeing uploaded successfully to my localhost page sir can you solve my problem.
@elmitodelaciencia9944
@elmitodelaciencia9944 5 жыл бұрын
I had the same issue.It would only upload small files.What I did to solve this was changing the __POST method parameters in the php.ini file inside of xampp folder.
@muhammadridha3335
@muhammadridha3335 5 жыл бұрын
@@elmitodelaciencia9944 you change it into what brother? Please help
@ivangonzalez823
@ivangonzalez823 7 жыл бұрын
thanks you, i will try to do it
@royceregalado991
@royceregalado991 6 жыл бұрын
Hi Gautam Mokal! I actually copy all the things u have done in your system. I got LOGICAL ERROR the appearance of "Uploaded Successfully". I DIDN'T GET THAT MESSAGE :( Can u help me? I have project to do, this video will really help if you can help me solve my problem. "Uploaded Successfully" doesn't show up :( Thanks
@gautammokal
@gautammokal 6 жыл бұрын
Danny O'donoghue can you please show your code where get error. I will help.
@royceregalado991
@royceregalado991 6 жыл бұрын
i copy all of your codes my friend. still got error. i think the problem is in $dir="uploads/"; $audio_path=$dir.basename($_FILES['audioFile']['name']); i said so because the code doesn't fall in condition of the "Upload Success". It goes to the ELSE statement. Please help me pal
@royceregalado991
@royceregalado991 6 жыл бұрын
the audio path file doesn't move. That's why i got that errpr
@royceregalado991
@royceregalado991 6 жыл бұрын
do you have any code to save my AUDIO in database :( and play it after saving. I really need it for my school project :( Thanks man. God bless you
@gautammokal
@gautammokal 6 жыл бұрын
Danny O'donoghue is semicolon ; missing after "uploads/"
@ebenezerumoh9475
@ebenezerumoh9475 5 жыл бұрын
how to upload many songs sir
@tomatentheo6316
@tomatentheo6316 5 жыл бұрын
You don't really store the File into the database. You simply can check this. Delete the Date out of the upload Folder and you will see no File stored into table.
@kelvinkofikwesie4895
@kelvinkofikwesie4895 6 жыл бұрын
Great! Thank you.
@simeonjana6168
@simeonjana6168 4 жыл бұрын
Thanks, awesome
@eduinfy
@eduinfy 3 жыл бұрын
helpful , thnx
@illyx3987
@illyx3987 3 жыл бұрын
Subscribed
@souravdam5964
@souravdam5964 6 жыл бұрын
thank u very much
@nomadsoulkarma
@nomadsoulkarma 7 жыл бұрын
Sir why do you put up a video but not answer any comments? are you too busy or something?
@illyx3987
@illyx3987 3 жыл бұрын
Thank youuu
@silencearmys88
@silencearmys88 7 жыл бұрын
awesome
@jaydeepsapariya8532
@jaydeepsapariya8532 5 жыл бұрын
too..good...
@kuldeepSingh-to5dr
@kuldeepSingh-to5dr 7 жыл бұрын
nicely done. ty
@aniworld2431
@aniworld2431 7 жыл бұрын
did you do like that? Can you send to me
@kuldeepSingh-to5dr
@kuldeepSingh-to5dr 7 жыл бұрын
ok, Your Email?
@aniworld2431
@aniworld2431 7 жыл бұрын
kuldeep sangwan yelnurmoldiyar@gmail.com
@Chiliagon
@Chiliagon 7 жыл бұрын
can you send me your work too? my gmail: tom.king7591. Thank a lot bro ! :)
@宋翔宇-r4n
@宋翔宇-r4n 7 жыл бұрын
kuldeep sangwan, can you send to me ? my gmail:nilsonhaha1129@gmail.com. thank you!
@putuokpi964
@putuokpi964 7 жыл бұрын
so fucking amazing man ty very much
@stacybey808
@stacybey808 3 жыл бұрын
Thanks anyways for the lesson, but it did not work for me. Here is the errors.... Notice: Undefined index: audioFile in /Applications/MAMP/htdocs/tutorials/upload.php on line 6 Warning: move_uploaded_file(): The second argument to copy() function cannot be a directory in /Applications/MAMP/htdocs/tutorials/upload.php on line 8 Warning: move_uploaded_file(): Unable to move '/Applications/MAMP/tmp/php/phpGT17vL' to 'uploads/' in /Applications/MAMP/htdocs/tutorials/upload.php on line 8 thanks again.
@ebenezerumoh9475
@ebenezerumoh9475 5 жыл бұрын
fucking nice sir.....thanks
@aniworld2431
@aniworld2431 7 жыл бұрын
nice. Can you send me your work?
@OhItsOkay
@OhItsOkay 7 жыл бұрын
Not sure who wants to upload audio to a web server and save it in the database, then play it themselves after saved? ??? Wouldn't people want to upload audio to a web server and save it in the database, then make the files available on a page which "visitors" visit, read and then play whatever audio they want to listen to? No? O heck, then enjoy yourselves on the net (did you know you can listen to your own audio on your computer, without this painful procedure of uploading your audio to a web server and save them in the database! ???
@johnnyrobbsodully3405
@johnnyrobbsodully3405 7 жыл бұрын
If you would understand, people often times gets their computers too file populated. And as time goes by, human focus differs and may forgot about their files, yes, it is easier to just save and open the file path, but say, if you are having thesis projects, you would actually like to have to show "something new". And it's also fun having to play things your own way.
@ho77iday
@ho77iday 7 жыл бұрын
I feel the same way about video.
@samwong3394
@samwong3394 5 жыл бұрын
flog in a well, sky is small, if the openning is round, the sky is a ball
@aniworld2431
@aniworld2431 7 жыл бұрын
Есть у кого то? у меня не работает)) Если у кого то есть то жду
How to upload image to MySQL database and display it using php
21:06
Coding with Elias
Рет қаралды 294 М.
Download and Upload files using HTML & PHP
6:37
Adnan Afzal
Рет қаралды 117 М.
Their Boat Engine Fell Off
0:13
Newsflare
Рет қаралды 15 МЛН
Жездуха 41-серия
36:26
Million Show
Рет қаралды 5 МЛН
-5+3은 뭔가요? 📚 #shorts
0:19
5 분 Tricks
Рет қаралды 13 МЛН
How to Upload / Insert an IMAGE into DataBase using PHP Mysql
21:49
Funda Of Web IT
Рет қаралды 53 М.
RECORD AUDIO, SAVE AUDIO AND PLAY RECORDED AUDIO - ANDROID KOTLIN
19:10
Dr. Parag Shukla
Рет қаралды 15 М.
you need to learn SQL RIGHT NOW!! (SQL Tutorial for Beginners)
24:25
NetworkChuck
Рет қаралды 1,6 МЛН
PHP File Upload and Download Script Project in MySQL
37:54
Coding Shiksha
Рет қаралды 33 М.
How to upload image to MySQL database and display it using php
12:19
How to Upload Image into Database and Display it using PHP
10:50
Code With Yousaf
Рет қаралды 69 М.
Their Boat Engine Fell Off
0:13
Newsflare
Рет қаралды 15 МЛН