PHP Classes

File: index.php

Recommend this page to a friend!
  Classes of Dragan Zlatkovski   PHP Get Visitor Info   index.php   Download  
File: index.php
Role: Example script
Content type: text/plain
Description: example
Class: PHP Get Visitor Info
Get visitor information and store in a database
Author: By
Last change:
Date: 9 years ago
Size: 562 bytes
 

Contents

Class file image Download
<?php
include('Visitors.php');
$info=new Visitors();
$info->setSubdomain("www.draganzlatkovski.com");
$info->getVisitorInfo($_SERVER['HTTP_USER_AGENT']);
$info->insertInfo();
?>
<!DOCTYPE html>
<html lang="en" xmlns="http://www.w3.org/1999/html">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="">
    <meta name="author" content="Dragan Zlatkovski">

</head>

<body>

</body>
</html>