Skip to content

Instantly share code, notes, and snippets.


Block or report user

Report or block arun7379

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
arun7379 / google-drive-upload-pdf.php
Created Nov 12, 2015 — forked from hubgit/google-drive-upload-pdf.php
Upload a PDF file to Google Drive
View google-drive-upload-pdf.php
require 'google-api/apiClient.php';
require 'google-api/contrib/apiOauth2Service.php';
require 'google-api/contrib/apiDriveService.php';
$pdfFile = 'test.pdf';
// API Console:
// Create an API project ("web applications") and put the client id and client secret in config.ini.
You can’t perform that action at this time.