In php.ini
Registered PHP Streams |
ftps, compress.zlib, file, ftp, zip, php, redirect, http, https, gs |
I would like to use a form with input type = file to let the user upload files to Google Drive.
I want to read the file-content:
$data = file_get_contents($_FILES['fileToUpload']['tmp_name'])
This produces a warning:
Warning: file_get_contents(): Unable to find the wrapper "vfs" - did you forget to enable it when you configured PHP?
After this, I want to insert a file in Google Drive and change its content to $data.
How can this be solved or is there a work-around