I have a few questions regarding the integration of Google Docs with PHP using CodeIgniter:
-
Is there a method to display Google Drive documents, specifically Google Docs, in a web browser utilizing PHP or CodeIgniter?
-
Is it possible to make edits directly within that displayed document?
-
I’ve come across references to Zend GData; is its functionality restricted solely to spreadsheets, or is it applicable to documents as well?
Lastly, can CodeIgniter be employed for this purpose?
hey, you can use the Google Drive API with CodeIgniter to display and interact with Google Docs. Just set up OAuth to get permission for your app. Unfortunately, editing directly in the rendered doc isn’t straightforward. Look into the docs or use iframes for viewing if needed.
Hi Grace, you can integrate by using the Google Docs API which lets you view and make changes to Google Docs programmatically. But for direct editing in browser, you should consider embedding the document through an iframe which offers limited interactivity. CodeIgniter’s RESTful services can be handy here.