Esempio n. 1
0
File: debug.php Progetto: kokarat/tk
<?php

use App\libs\Kokarat;
require 'libs/Kokarat.php';
echo Kokarat::greeting();
Esempio n. 2
0
File: l2.php Progetto: kokarat/tk
<?php

use App\libs\Kokarat;
require 'libs/Kokarat.php';
if (isset($_REQUEST['asin'])) {
    $asin = $_REQUEST['asin'];
} else {
    $asin = 'B00T2GT9L4';
}
$affID = "test-20";
$siteName = "Offervote.com";
$obj = new Kokarat();
//print_r($obj->dom_request("B00GDQ0RMG"));
$data = $obj->dom_request($asin);
?>
<!DOCTYPE html>
<html>
<head>
  <title><?php 
echo $asin;
?>
</title>
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <!-- Latest compiled and minified CSS -->
  <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css" integrity="sha512-dTfge/zgoMYpP7QbHy4gWMEGsbsdZeCXz7irItjcC3sPUFtf0kuFbDz/ixG7ArTxmDjLXDmezHubeNikyKGVyQ==" crossorigin="anonymous">

<style>
  body {
    margin: 70px;
  }
</style>