title: Upload file to google drive using php and retrieve the link
body: <p>I have a html form where there is a file upload button. Now what I want to do is select a file and submit the form, then the server should upload the file to google drive using php and retrieve the link of that file. Actually, I want to only upload image files. So, I would really appreciate it if anyone can show me how to upload the file to google drive using php and then retrieve the direct link to that image so that I can store the link to a mysql database.  </p>