We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'd like to upload a MP3 file in Laravel and then get the duration of the MP3. Here's my code, but it's not working:
$music_file = Input::file('audio_path'); $file_music = date('Y-m-d-H-i-s')."-".$music_file->getClientOriginalName(); $path = public_path('assets/music/' . $file_music); $path = $music_file->getRealPath();
The text was updated successfully, but these errors were encountered:
I managed to upload a song but when i add another input to also add cover image it upload a song as an unreadable file
Sorry, something went wrong.
No branches or pull requests
I'd like to upload a MP3 file in Laravel and then get the duration of the MP3. Here's my code, but it's not working:
$music_file = Input::file('audio_path');
$file_music = date('Y-m-d-H-i-s')."-".$music_file->getClientOriginalName();
$path = public_path('assets/music/' . $file_music);
$path = $music_file->getRealPath();
The text was updated successfully, but these errors were encountered: