php - Google Cloud Storage From Remote Server -


i'm lost in trying decipher google's documentation using cloud storage. of documentation have been able find php , google cloud seem services running on google cloud. snippet below uses gs://my_bucket/new_file.txt example.

$gs_name = $_files['uploaded_files']['tmp_name']; move_uploaded_file($gs_name, 'gs://my_bucket/new_file.txt'); 

this not tell me how upload images remote server.

i've looked php libraries , checked composer can't seem find need. want upload file cloud, url of image , save url serve later on. clean , simple.

i'm doing on s3 , straight forward , easy , running. reason missing here.

can shed light, or trying google cloud wasn't designed for?

when app runs locally, gs:// path mapped local gcs emulation layer. can use developer console or gsutil work production gcs.


Comments

Popular posts from this blog

asp.net mvc - SSO between MVCForum and Umbraco7 -

Python Tkinter keyboard using bind -

ubuntu - Selenium Node Not Connecting to Hub, Not Opening Port -