Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 15 lines (14 sloc) 0.494 kb
29585fe @4nd3rs First commit
authored
1 <?php
2 // Include the WURFL Cloud Client
3 require_once 'WURFL/Client/Client.php';
4 // Create a configuration object
5 $config = new WurflCloud_Client_Config();
16b4238 @4nd3rs Removed (and changed) WURFL API Key
authored
6 // Set your WURFL Cloud API Key (add your own key)
7 //$config->api_key = '12345:abcdefgabcdefgabcdefgabcdefg';
3aea31b @4nd3rs refactored and commented
authored
8
9 //This file contains my own API key and is not in the Git repo
16b4238 @4nd3rs Removed (and changed) WURFL API Key
authored
10 include "fragments/WURFLKey.php";
29585fe @4nd3rs First commit
authored
11 // Create the WURFL Cloud Client
12 $client = new WurflCloud_Client_Client($config);
13 // Detect your device
14 $client->detectDevice();
15 ?>
Something went wrong with that request. Please try again.