Raphael Rafatpanah
Raphael Rafatpanah

Reputation: 19997

Can a Google Document get programmatically created from HTML form data?

I've written a simple web app that creates a MS Word document from an HTML form (using JavaScript and PHP also) but I've since converted to Google Docs.

After spending most of the day trying to see if switching from .docx's to .gdoc's was doable (perhaps with a different PHP plugin), I can't seem to find a way to programmatically create a Google Doc without using Google Scripts or a server running Google App Engine.

My question: Can a Google Document get programmatically created using PHP and an HTML form?

Upvotes: 1

Views: 695

Answers (1)

Wogan
Wogan

Reputation: 1335

You can check the Google Drive SDK documentation for everything related to Google Docs: https://developers.google.com/drive/web/about-sdk

An easy way to push files in would be to upload them: https://developers.google.com/drive/web/manage-uploads#simple

Upvotes: 1

Related Questions