mardi 12 septembre 2017

Save converted file to location of original file

I am trying to upload a file using Laravel then saving the converted file in the old location of the original file. My main issue is I only get the server filepath and not the absolute path on my computer.

I'm using this $handle = fopen($_FILES["csv"]["tmp_name"], 'r');

I need to be able to save the formatted file in the same location as the original file.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire