I am currently developing a website with AngularJS for the frontend, and a restful web service using Laravel framework (PHP5) as backend ; I am currently face to one problem, file uploading. I would like to have a very simple file uploaded, with a file input and just some copy into one of the server folder.
For now, I am using a directive in AngularJS that work great, and send my file using base64 url ; I am able to get this string inside my PHP backend, but unable to transform it to a file. For example, I would like to be able to get the filename, ext, ... and copy it to the server..
Any idea how to convert a base64 to a "file object" ? (Whether the solution is designed for Laravel et simple PHP doesn't bother me).