Skip to content

Tag: file-upload

Upload image in Laravel

I try these code in controller: My Html input file: but i can’t upload. Any idea? Answer you can use storage::putFile(‘folder_name’, $request->image) this will return automatic generated filename and you can store that in your database. And make sure your have your default file system set…

Upload a ZIP file and UNZIP ftp folder via PHP

I want to make a form where you can fill FTP login server and get option to upload ZIP file. The script works apart from the last part (UNZIP the file) I want to perform UNZIP uploaded file. Does anyone know what is the problem? TIA THE ERROR Successfully uploaded ftp://:@ftp.***.com/htdocs/file.zip Warning: …