Skip to content

Instantly share code, notes, and snippets.

arun7379

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
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
<?php
require 'google-api/apiClient.php';
require 'google-api/contrib/apiOauth2Service.php';
require 'google-api/contrib/apiDriveService.php';
$pdfFile = 'test.pdf';
// API Console: https://code.google.com/apis/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.