Login   Register  
PHP Classes
elePHPant
Icontem

File: light_example_save_sql.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_save_sql.php  >  Download  
File: light_example_save_sql.php
Role: Example script
Content type: text/plain
Description: save to sql
Class: Lite User Agents API
Get user agents information into XML or database
Author: By
Last change:
Date: 2011-04-02 07:06
Size: 303 bytes
 

Contents

Class file image Download
<?php
    define
('IN_FCMS'true);
    
session_start();
    include 
'class.Lite_user-agents.org.php';
    include 
'class.MySQL_Connect.php';
    
$sql = new MySql_Con();
    
$rbt = new User_Agents_dot_org(); 
    
$sql->GetMyConnection();
    
$rbt->RAW_enabled true;
    
$rbt->Save('SQL''');
    
$sql->CleanUpDB();

    
?>