--------------------------
AURIGMA UP SDK README FILE
--------------------------

Table of Contents

1. About Aurigma Up
2. About this SDK
   2.1. PHP
   2.2. ASP.NET
3. See Also
4. Contact Us


1. ABOUT AURIGMA UP
   ----------------

Aurigma Up is a universal upload app for iPhone. It allows uploading files to your website with just a handful of PHP/ASP.NET/other server platform code. 

The idea is the following: 

1. The iPhone user goes to your site through mobile Safari and opens the upload page there.

2. They click the Upload button (you add it as a small HTML code snippet).

3. Aurigma Up app is launched.

4. The user selects photos they would like to upload to your website and clicks Start Upload button.

5.  Photos are sent as a standard HTTP POST request to the URL you specify in its settings (you write it in PHP, ASP.NET or any other language to specify where to save files, etc). 

6. As soon as the upload completes, the user is brought back to the browser to the URL you specify in its settings. 

To learn more about Aurigma Up, visit
http://www.aurigma.com/iphone/.



2. ABOUT THIS SDK
   --------------

This package contains ASP.NET and PHP code examples for Aurigma Up. If code examples for other platforms are required, please contact us at info@aurigma.com. 


2.1. PHP 

To run PHP demo application, do the following: 

1. Copy the content of PHP/Samples_iPhoneUploaderJavaScript/ folder to your web server. 

2. Request a free license key for your website on this page:

http://www.aurigma.com/iphone/get-license-key.aspx

3. Edit /PHP/Samples_iPhoneUploaderJavaScript/BasicDemo/index.php and insert license key here (instead of XXXXX-XXXXX-XXXXX-XXXXX-XXXXX-XXXXXX):

  // Put Aurigma Up license key here.
  define('LICENSE_KEY', 'XXXXX-XXXXX-XXXXX-XXXXX-XXXXX-XXXXXX');

4. Make sure that /PHP/Samples_iPhoneUploaderJavaScript/UploadedFiles/ folder has all necessary permissions to save files there. If you want to use other folder, you can change it in upload.php. 

5. Run index.php in the iPhone Safari browser to see it in action. 


2.2 ASP.NET

To run ASP.NET demo application, do the following: 

1. Load the project located in ASP.NET/Samples_iPhoneUploaderJavaScript/ folder in Visual Studio. 

2. Request a free license key for your website on this page:

http://www.aurigma.com/iphone/get-license-key.aspx

3. Edit /ASP.NET/Samples_iPhoneUploaderJavaScript/Web.config and insert license key to ImageUploaderLicenseKey key (instead of XXXXX-XXXXX-XXXXX-XXXXX-XXXXX-XXXXXX):

    <add key="ImageUploaderLicenseKey" value="XXXXX-XXXXX-XXXXX-XXXXX-XXXXX-XXXXXX"/>

4. Make sure that /ASP.NET/Samples_iPhoneUploaderJavaScript/UploadedFiles/ folder has all necessary permissions to save files there. If you want to use other folder, you can change it in Web.config. 

5. Deploy the application on a server and run default.aspx in the iPhone Safari browser to see it in action. 



3. SEE ALSO
   ---------

Besides of the code examples, the following resources are available: 

- Getting Started article: 
http://www.aurigma.com/iphone/getting-started.aspx

- API description and HTML settings code designer:
http://www.aurigma.com/iphone/api.aspx

- Free license key request page: 
http://www.aurigma.com/iphone/get-license-key.aspx

- Aurigma Up tech support forum:
http://forums.aurigma.com/yaf_topics35_Aurigma-Up.aspx

- Online demo (need to run it on iPhone):
http://i.aurigma.com/

- Aurigma Up on iTunes:
http://itunes.apple.com/en/app/aurigma-up/id432611633?mt=8 



4. CONTACT US
   ----------

If you have any questions, need any assistance with Aurigma Up, or encounter any problems, do not hesitate to contact us:

- For general questions: info@aurigma.com

- For the questions about licensing, pricing, or any other purchase information: sales@aurigma.com

- For technical questions or problem reports: http://aurigma.com/MyAurigma/CreateCase.aspx or post a question on Aurigma forums (monitored by Aurigma tech guys): 

http://forums.aurigma.com/yaf_topics35_Aurigma-Up.aspx

Thank you for your interest with the Aurigma products.