简体   繁体   中英

Simple listing of google drive folders/files and show images with php

I am lost.

I am trying to show a list of folders, and files in my private drive account with php. I have a ftp access to my webserver, but can only edit files and not install anything.

Is this even possible ?

Could someone help me with an example ?

I need this to show images in folders for family and friends with password to my site. I know i can share folders with google drive, but this needs to blend in with my current images shared this way.

EDIT: I am not looking for someone to do my work :) I am just looking for a help to get startet.. Just to get the connection to the drive folder and read an image.. I think this could also help a lot of other people struggeling with the same issues.

  echo '<img src="https://drive.google.com/uc?id='.$file->id.'" />';

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM