PDA

View Full Version : php script to upload files into google docs



hemi
09-26-2009, 04:15 AM
how can i upload my files into google docs using php.

Is it possible? If it is help me out

djr33
09-26-2009, 05:16 AM
You would have to look at the details of how google allows access to their servers.

In short, you would need to submit data (probably via POST method), and this is possible with PHP, though it would require a page that accepts this on google's server.

If there is not an option from google, then the only way to do it would be to log on normally (manually, or with a complex automated script), which would include giving out your google password to anyone using the page.

I doubt it is possible, or at least think it would be very difficult, unless google has setup something for this purpose. You could always email and ask... google is quick and innovative. Maybe this would be helpful for others, enough that they'd make it for you. Unlikely, but won't hurt.

dr-yassine
09-28-2009, 09:12 AM
merci

BobbyMac
04-24-2010, 06:39 PM
I was Googling for an answer to this question, and found this thread, and also the following one, which may be useful:

http://stackoverflow.com/questions/2453172/need-to-upload-files-to-google-docs-from-my-application-and-store-reference-to-th


It notes the Google Docs API: http://code.google.com/apis/documents/docs/developers_guide.html