PHP Classes

File: light_example_list_raw.php

Recommend this page to a friend!
  Classes of Lee J   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: 13 years ago
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;
   
?>