After uploaded, how to validate the audio file in php?
@BIELZAGA3 жыл бұрын
Release the code, I did exactly the same, but it didn't work
@gavlorain38814 жыл бұрын
Thank you so much for this video it really helps me in my study..🥰😍
@gautammokal4 жыл бұрын
Glad it was helpful!
@egen3212 Жыл бұрын
I'm trying to upload mp3 file with size 70mb and its not getting uploaded. Could you help please
@egen3212 Жыл бұрын
Pls let me know if you have any solution
@DhaifullahArsyafa5 жыл бұрын
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?
@ismaelschaalma5924 жыл бұрын
too
@MK-lj5we6 жыл бұрын
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
@luccagamboa14054 жыл бұрын
how to upload mp3 along with the image in php
@gautammokal4 жыл бұрын
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.
@luccagamboa14054 жыл бұрын
@@gautammokal you can do the source code for me with database, could you help me
@chaocraticysmix12057 жыл бұрын
Awesome! Exactly what I was looking for....
@T301507925 жыл бұрын
This is not "Upload & Save audio in MySQL DB", but rather "Save audio PATH in MySQL DB"
@Funnyvideo-rh5hr5 жыл бұрын
why upload only ring tone means small file i am upload full song pls solve this problem
@TheJasvan5 жыл бұрын
----->save_audio[ ]== upload array
@sax5064 жыл бұрын
Eso no es guardar el audio en MYSQL, solo está guardando el nombre en en un varchar...
@PrakashPraaku7 жыл бұрын
I like this video, really informative. Thanks
@showunmioludotun35386 жыл бұрын
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
@showunmioludotun35386 жыл бұрын
Anyone who can help, please contact me at showunmioludotun@gmail.com
@tejapolisetty38066 жыл бұрын
just change the content type , i guess it will work
@ismaelschaalma5924 жыл бұрын
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
@gautammokal4 жыл бұрын
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 Жыл бұрын
amazing man, but it still can upload any files include jpg, mp4, etc
@dharmaduthbhowoniah63656 жыл бұрын
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 ?
@crysto1236 жыл бұрын
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
@dharmaduthbhowoniah63656 жыл бұрын
ok thank you :)
@ayushgupta-ib2kl7 жыл бұрын
why i am not seeing uploaded successfully to my localhost page sir can you solve my problem.
@elmitodelaciencia99445 жыл бұрын
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.
@muhammadridha33355 жыл бұрын
@@elmitodelaciencia9944 you change it into what brother? Please help
@ivangonzalez8237 жыл бұрын
thanks you, i will try to do it
@royceregalado9916 жыл бұрын
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
@gautammokal6 жыл бұрын
Danny O'donoghue can you please show your code where get error. I will help.
@royceregalado9916 жыл бұрын
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
@royceregalado9916 жыл бұрын
the audio path file doesn't move. That's why i got that errpr
@royceregalado9916 жыл бұрын
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
@gautammokal6 жыл бұрын
Danny O'donoghue is semicolon ; missing after "uploads/"
@ebenezerumoh94755 жыл бұрын
how to upload many songs sir
@tomatentheo63165 жыл бұрын
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.
@kelvinkofikwesie48956 жыл бұрын
Great! Thank you.
@simeonjana61684 жыл бұрын
Thanks, awesome
@eduinfy3 жыл бұрын
helpful , thnx
@illyx39873 жыл бұрын
Subscribed
@souravdam59646 жыл бұрын
thank u very much
@nomadsoulkarma7 жыл бұрын
Sir why do you put up a video but not answer any comments? are you too busy or something?
@illyx39873 жыл бұрын
Thank youuu
@silencearmys887 жыл бұрын
awesome
@jaydeepsapariya85325 жыл бұрын
too..good...
@kuldeepSingh-to5dr7 жыл бұрын
nicely done. ty
@aniworld24317 жыл бұрын
did you do like that? Can you send to me
@kuldeepSingh-to5dr7 жыл бұрын
ok, Your Email?
@aniworld24317 жыл бұрын
kuldeep sangwan yelnurmoldiyar@gmail.com
@Chiliagon7 жыл бұрын
can you send me your work too? my gmail: tom.king7591. Thank a lot bro ! :)
@宋翔宇-r4n7 жыл бұрын
kuldeep sangwan, can you send to me ? my gmail:nilsonhaha1129@gmail.com. thank you!
@putuokpi9647 жыл бұрын
so fucking amazing man ty very much
@stacybey8083 жыл бұрын
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.
@ebenezerumoh94755 жыл бұрын
fucking nice sir.....thanks
@aniworld24317 жыл бұрын
nice. Can you send me your work?
@OhItsOkay7 жыл бұрын
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! ???
@johnnyrobbsodully34057 жыл бұрын
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.
@ho77iday7 жыл бұрын
I feel the same way about video.
@samwong33945 жыл бұрын
flog in a well, sky is small, if the openning is round, the sky is a ball
@aniworld24317 жыл бұрын
Есть у кого то? у меня не работает)) Если у кого то есть то жду