-------------------------------------------------- -- VuzitPHP, Vuzit Web Services library for PHP -------------------------------------------------- -------------------------------------------------- -- INTRODUCTION -------------------------------------------------- This is a library that allows developers to directly access the Vuzit Web Service API through a simple PHP script: http://vuzit.com/developer/web_service_api Below is a basic upload example: getId(); ?> To get started all you need to do is download the code, sign up for a free account (https://ssl.vuzit.com/signup) and replace the public and private keys with the keys from your account. -------------------------------------------------- -- INITIAL SETUP -------------------------------------------------- This application requires the PHP Client Library (libcurl): http://php.net/curl This link is to the installation instructions: http://php.net/manual/en/curl.installation.php A simple phpinfo() call will tell you if CURL is installed: If you're using the Windows version then the library is an optional module. Open your php.ini file and un-comment the following line: extension=php_curl.dll Then restart your web server. Verify with the phpinfo() call that it's working. Sometimes on Windows machines the php.ini 'extension_dir' variable is set to ./ which doesn't work. You will need to give it the full path. In this example the PHP installation is stored in "C:\Program Files\php": extension_dir = "C:/Program Files/php/ext" -------------------------------------------------- -- GETTING STARTED -------------------------------------------------- * Download the code - http://github.com/vuzit/vuzitphp/downloads * Sign up for a free Vuzit account - https://ssl.vuzit.com/signup * Code Examples - http://wiki.github.com/vuzit/vuzitphp/code_examples * Vuzit API Reference - http://wiki.github.com/vuzit/vuzitphp/api_reference -------------------------------------------------- -- EXAMPLES -------------------------------------------------- Find Document Example - how to load a document getId(); echo "Document title: " . $doc->getTitle(); ?> Delete (destroy) Document Example Upload and View with the JavaScript API Example getId(), $timestamp); ?>
-------------------------------------------------- -- MORE INFORMATION -------------------------------------------------- For more information, including installation visit: http://vuzit.com/developer -------------------------------------------------- -- LICENSE -------------------------------------------------- Copyright (c) 2009-2010 Brent Matzelle, Vuzit LLC Released under the MIT license: http://www.opensource.org/licenses/mit-license.php This means you can use it in proprietary products. See LICENSE file. -------------------------------------------------- -- Feature Requests and Bug Reports -------------------------------------------------- Email to support AT vuzit DOT com