dimanche 10 septembre 2017

Get previous path of uploaded file

I am trying to get the path of an uploaded file from a Mac.

I tried this: $path = Input::file('photo')->getRealPath();

What I get is the temporary path of the file, but what I need is the absolute path on the Mac so I can write the file in a different format to the same location.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire