Upload a file using file_get_contents

I realise I can do this with CURL very easily, but I was wondering if it was possible to use file_get_contents() with the http stream context to upload a file to a remote web server, and if so, how?

33
задан halfer 5 November 2017 в 23:45
поделиться