php - How to retrieve file id from google drive file URL -


i have url of file, details of file, file_id required? there way retrieve file_id url.i'm looking like

$driveservice->files->getfileidfromurl($url) 

apparently google doesn't provide explicit interface, using regex extract id string best bet.

see easiest way file id url on google apps script how javascript.

regexes available in php. can test php regexes @ http://www.phpliveregex.com/


Comments

Popular posts from this blog

php - How to add and update images or image url in Volusion using Volusion API -

javascript - jQuery UI Splitter/Resizable for unlimited amount of columns -

javascript - IE9 error '$'is not defined -