Login   Register  
PHP Classes
elePHPant
Icontem

File: light_example_list_raw.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Lee Johnstone  >  Lite User Agents API  >  light_example_list_raw.php  >  Download  
File: light_example_list_raw.php
Role: Example script
Content type: text/plain
Description: example list from raw
Class: Lite User Agents API
Get user agents information into XML or database
Author: By
Last change:
Date: 2011-04-02 07:05
Size: 415 bytes
 

Contents

Class file image Download
<?php
    define
('IN_FCMS'true);
    
session_start();
    include 
'class.Lite_user-agents.org.php';
    
$rbt = new User_Agents_dot_org(); 
    
$rbt->RAW_enabled true;
    
$rbt->Get_User_Agents_Dot_Org();
foreach (
$rbt->User_Agents_XML as $i =>  $k) {
    
$output .='['.$i.'] - '.$k->ID.' - '.$k->String.' - '.$k->Description.' - '.$k->Type.' - '.$k->Comment.' - '.$k->Link1.' - '.$k->Link2.'<br />';
    }
    echo 
$output;
    
?>