Compare commits
No commits in common. "master" and "1.0.0" have entirely different histories.
10 changed files with 132 additions and 136 deletions
1
.coveralls.yml
Normal file
1
.coveralls.yml
Normal file
|
@ -0,0 +1 @@
|
||||||
|
service_name: travis-ci
|
29
.github/workflows/test.yml
vendored
29
.github/workflows/test.yml
vendored
|
@ -1,29 +0,0 @@
|
||||||
name: Test
|
|
||||||
on: [push, pull_request]
|
|
||||||
jobs:
|
|
||||||
test:
|
|
||||||
name: Test PHP ${{ matrix.php-version }}
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
strategy:
|
|
||||||
matrix:
|
|
||||||
php-version: ['5.3', '5.4', '5.5', '5.6', '7.0', '7.1', '7.2', '7.3', '7.4', '8.0']
|
|
||||||
steps:
|
|
||||||
- name: Checkout
|
|
||||||
uses: actions/checkout@v2
|
|
||||||
- name: Setup PHP
|
|
||||||
uses: shivammathur/setup-php@v2
|
|
||||||
with:
|
|
||||||
php-version: ${{ matrix.php-version }}
|
|
||||||
- name: PHP Version
|
|
||||||
run: php --version
|
|
||||||
- name: Composer Version
|
|
||||||
run: composer --version
|
|
||||||
- name: Install Dependencies
|
|
||||||
run: COMPOSER_MEMORY_LIMIT=-1 composer install
|
|
||||||
- name: Run Tests
|
|
||||||
run: vendor/bin/phpunit --coverage-clover ./coverage.xml
|
|
||||||
- name: Upload Coverage
|
|
||||||
if: ${{ matrix.php-version == '7.4' }}
|
|
||||||
uses: codecov/codecov-action@v1
|
|
||||||
with:
|
|
||||||
file: ./coverage.xml
|
|
4
.gitignore
vendored
4
.gitignore
vendored
|
@ -1,4 +0,0 @@
|
||||||
composer.lock
|
|
||||||
composer.phar
|
|
||||||
.phpunit.result.cache
|
|
||||||
/vendor/
|
|
26
.travis.yml
Normal file
26
.travis.yml
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
language: php
|
||||||
|
|
||||||
|
php:
|
||||||
|
- 5.3
|
||||||
|
- 5.4
|
||||||
|
- 5.5
|
||||||
|
- 5.6
|
||||||
|
- hhvm
|
||||||
|
- hhvm-nightly
|
||||||
|
|
||||||
|
matrix:
|
||||||
|
allow_failures:
|
||||||
|
- php: hhvm-nightly
|
||||||
|
|
||||||
|
install:
|
||||||
|
- composer install
|
||||||
|
|
||||||
|
before_script:
|
||||||
|
- mkdir -p build/logs
|
||||||
|
- cd tests
|
||||||
|
|
||||||
|
script:
|
||||||
|
- phpunit --colors --coverage-clover /home/travis/build/joshtronic/php-projecthoneypot/build/logs/clover.xml .
|
||||||
|
|
||||||
|
after_success:
|
||||||
|
- php ../vendor/bin/coveralls --config ../.coveralls.yml -v
|
|
@ -1 +0,0 @@
|
||||||
github: joshtronic
|
|
13
README.md
13
README.md
|
@ -3,18 +3,23 @@
|
||||||
[][travis]
|
[][travis]
|
||||||
[][coveralls]
|
[][coveralls]
|
||||||
[][packagist]
|
[][packagist]
|
||||||
|
[][gittip]
|
||||||
|
|
||||||
PHP Wrapper for Project Honey Pot. Compatible with PHP 5.3+ and HHVM.
|
PHP Wrapper for Project Honey Pot. Compatible with PHP 5.3+ and HHVM.
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
The preferred installation method is via `composer`. From the root of your
|
The preferred installation method is via `composer`. First add the following
|
||||||
project simply run:
|
to your `composer.json`
|
||||||
|
|
||||||
```shell
|
```json
|
||||||
composer require "joshtronic/php-projecthoneypot:dev-master"
|
"require": {
|
||||||
|
"joshtronic/php-projecthoneypot": "dev-master"
|
||||||
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Then run `composer update`
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
### Getting Started
|
### Getting Started
|
||||||
|
|
|
@ -8,19 +8,16 @@
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"authors": [{
|
"authors": [{
|
||||||
"name": "Josh Sherman",
|
"name": "Josh Sherman",
|
||||||
"email": "hello@joshtronic.com",
|
"email": "josh@gravityblvd.com",
|
||||||
"homepage": "http://joshtronic.com"
|
"homepage": "http://joshtronic.com"
|
||||||
}],
|
}],
|
||||||
"require": {
|
"require-dev": {
|
||||||
"php": ">=5.3.0"
|
"php": ">=5.3.0"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"phpunit/phpunit": "^4.8.36 || ^9.0"
|
"satooshi/php-coveralls": "dev-master"
|
||||||
},
|
},
|
||||||
"autoload": {
|
"autoload": {
|
||||||
"psr-4": {"joshtronic\\": "src/"}
|
"psr-4": {"joshtronic\\": "src/"}
|
||||||
},
|
|
||||||
"autoload-dev": {
|
|
||||||
"psr-4": {"joshtronic\\Tests\\": "tests/"}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
24
phpunit.xml
24
phpunit.xml
|
@ -1,24 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<phpunit
|
|
||||||
colors="true"
|
|
||||||
bootstrap="./vendor/autoload.php"
|
|
||||||
convertErrorsToExceptions="true"
|
|
||||||
convertNoticesToExceptions="true"
|
|
||||||
convertWarningsToExceptions="true"
|
|
||||||
failOnRisky="true"
|
|
||||||
stopOnError="true"
|
|
||||||
stopOnFailure="true"
|
|
||||||
stopOnIncomplete="true"
|
|
||||||
verbose="true"
|
|
||||||
>
|
|
||||||
<testsuites>
|
|
||||||
<testsuite name="Project Honeypot">
|
|
||||||
<directory>tests</directory>
|
|
||||||
</testsuite>
|
|
||||||
</testsuites>
|
|
||||||
<filter>
|
|
||||||
<whitelist addUncoveredFilesFromWhitelist="true">
|
|
||||||
<directory>./src</directory>
|
|
||||||
</whitelist>
|
|
||||||
</filter>
|
|
||||||
</phpunit>
|
|
|
@ -8,8 +8,8 @@
|
||||||
* Licensed under The MIT License.
|
* Licensed under The MIT License.
|
||||||
* Redistribution of these files must retain the above copyright notice.
|
* Redistribution of these files must retain the above copyright notice.
|
||||||
*
|
*
|
||||||
* @author Josh Sherman <hello@joshtronic.com>
|
* @author Josh Sherman <josh@gravityblvd.com>
|
||||||
* @copyright Copyright 2012-2015, Josh Sherman
|
* @copyright Copyright 2012-2014, Josh Sherman
|
||||||
* @license http://www.opensource.org/licenses/mit-license.html
|
* @license http://www.opensource.org/licenses/mit-license.html
|
||||||
* @link https://github.com/joshtronic/php-projecthoneypot
|
* @link https://github.com/joshtronic/php-projecthoneypot
|
||||||
* @link http://www.projecthoneypot.org/httpbl_configure.php
|
* @link http://www.projecthoneypot.org/httpbl_configure.php
|
||||||
|
@ -37,9 +37,12 @@ class ProjectHoneyPot
|
||||||
*/
|
*/
|
||||||
public function __construct($api_key)
|
public function __construct($api_key)
|
||||||
{
|
{
|
||||||
if (preg_match('/^[a-z]{12}$/', $api_key)) {
|
if (preg_match('/^[a-z]{12}$/', $api_key))
|
||||||
|
{
|
||||||
$this->api_key = $api_key;
|
$this->api_key = $api_key;
|
||||||
} else {
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
throw new \Exception('You must specify a valid API key.');
|
throw new \Exception('You must specify a valid API key.');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -56,7 +59,8 @@ class ProjectHoneyPot
|
||||||
public function query($ip_address)
|
public function query($ip_address)
|
||||||
{
|
{
|
||||||
// Validates the IP format
|
// Validates the IP format
|
||||||
if (filter_var($ip_address, FILTER_VALIDATE_IP, FILTER_FLAG_IPV4 | FILTER_FLAG_NO_PRIV_RANGE)) {
|
if (filter_var($ip_address, FILTER_VALIDATE_IP, FILTER_FLAG_IPV4 | FILTER_FLAG_NO_PRIV_RANGE))
|
||||||
|
{
|
||||||
// Flips the script, err, IP address
|
// Flips the script, err, IP address
|
||||||
$octets = explode('.', $ip_address);
|
$octets = explode('.', $ip_address);
|
||||||
krsort($octets);
|
krsort($octets);
|
||||||
|
@ -66,10 +70,12 @@ class ProjectHoneyPot
|
||||||
$results = $this->dns_get_record($reversed_ip);
|
$results = $this->dns_get_record($reversed_ip);
|
||||||
|
|
||||||
// Processes the results
|
// Processes the results
|
||||||
if (isset($results[0]['ip'])) {
|
if (isset($results[0]['ip']))
|
||||||
|
{
|
||||||
$results = explode('.', $results[0]['ip']);
|
$results = explode('.', $results[0]['ip']);
|
||||||
|
|
||||||
if ($results[0] == 127) {
|
if ($results[0] == 127)
|
||||||
|
{
|
||||||
$results = array(
|
$results = array(
|
||||||
'last_activity' => $results[1],
|
'last_activity' => $results[1],
|
||||||
'threat_score' => $results[2],
|
'threat_score' => $results[2],
|
||||||
|
@ -77,31 +83,40 @@ class ProjectHoneyPot
|
||||||
);
|
);
|
||||||
|
|
||||||
// Creates an array of categories
|
// Creates an array of categories
|
||||||
switch ($results['categories']) {
|
switch ($results['categories'])
|
||||||
|
{
|
||||||
case 0:
|
case 0:
|
||||||
$categories = array('Search Engine');
|
$categories = array('Search Engine');
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 1:
|
case 1:
|
||||||
$categories = array('Suspicious');
|
$categories = array('Suspicious');
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 2:
|
case 2:
|
||||||
$categories = array('Harvester');
|
$categories = array('Harvester');
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 3:
|
case 3:
|
||||||
$categories = array('Suspicious', 'Harvester');
|
$categories = array('Suspicious', 'Harvester');
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 4:
|
case 4:
|
||||||
$categories = array('Comment Spammer');
|
$categories = array('Comment Spammer');
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 5:
|
case 5:
|
||||||
$categories = array('Suspicious', 'Comment Spammer');
|
$categories = array('Suspicious', 'Comment Spammer');
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 6:
|
case 6:
|
||||||
$categories = array('Harvester', 'Comment Spammer');
|
$categories = array('Harvester', 'Comment Spammer');
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 7:
|
case 7:
|
||||||
$categories = array('Suspicious', 'Harvester', 'Comment Spammer');
|
$categories = array('Suspicious', 'Harvester', 'Comment Spammer');
|
||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
$categories = array('Reserved for Future Use');
|
$categories = array('Reserved for Future Use');
|
||||||
break;
|
break;
|
||||||
|
@ -112,7 +127,9 @@ class ProjectHoneyPot
|
||||||
return $results;
|
return $results;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
return array('error' => 'Invalid IP address.');
|
return array('error' => 'Invalid IP address.');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -122,7 +139,7 @@ class ProjectHoneyPot
|
||||||
/**
|
/**
|
||||||
* DNS Get Record
|
* DNS Get Record
|
||||||
*
|
*
|
||||||
* Wrapper method for dns_get_record() to allow for easy mocking of the
|
* Wrapper method for dns_get_record() to allow fo easy mocking of the
|
||||||
* results in our tests. Takes an already reversed IP address and does a
|
* results in our tests. Takes an already reversed IP address and does a
|
||||||
* DNS lookup for A records against the http:BL API.
|
* DNS lookup for A records against the http:BL API.
|
||||||
*
|
*
|
||||||
|
|
|
@ -1,22 +1,21 @@
|
||||||
<?php
|
<?php
|
||||||
namespace joshtronic\Tests;
|
|
||||||
use joshtronic\ProjectHoneyPot;
|
|
||||||
use PHPUnit\Framework\TestCase;
|
|
||||||
|
|
||||||
class ProjectHoneyPotTest extends TestCase
|
require_once '../src/ProjectHoneyPot.php';
|
||||||
|
|
||||||
|
class ProjectHoneyPotTest extends PHPUnit_Framework_TestCase
|
||||||
{
|
{
|
||||||
|
/**
|
||||||
|
* @expectedException Exception
|
||||||
|
* @expectedExceptionMessage You must specify a valid API key.
|
||||||
|
*/
|
||||||
public function testInvalidKey()
|
public function testInvalidKey()
|
||||||
{
|
{
|
||||||
try {
|
new joshtronic\ProjectHoneyPot('foo');
|
||||||
new ProjectHoneyPot('foo');
|
|
||||||
} catch (\Exception $e) {
|
|
||||||
$this->assertSame('You must specify a valid API key.', $e->getMessage());
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public function testInvalidIP()
|
public function testInvalidIP()
|
||||||
{
|
{
|
||||||
$object = new ProjectHoneyPot('foobarfoobar');
|
$object = new joshtronic\ProjectHoneyPot('foobarfoobar');
|
||||||
|
|
||||||
$this->assertEquals(
|
$this->assertEquals(
|
||||||
array('error' => 'Invalid IP address.'),
|
array('error' => 'Invalid IP address.'),
|
||||||
|
@ -26,10 +25,11 @@ class ProjectHoneyPotTest extends TestCase
|
||||||
|
|
||||||
public function testMissingResults()
|
public function testMissingResults()
|
||||||
{
|
{
|
||||||
$mock = $this->getMockBuilder('joshtronic\\ProjectHoneyPot')
|
$mock = $this->getMock(
|
||||||
->setConstructorArgs(array('foobarfoobar'))
|
'joshtronic\ProjectHoneyPot',
|
||||||
->setMethods(array('dns_get_record'))
|
array('dns_get_record'),
|
||||||
->getMock();
|
array('foobarfoobar')
|
||||||
|
);
|
||||||
|
|
||||||
$mock->expects($this->once())
|
$mock->expects($this->once())
|
||||||
->method('dns_get_record')
|
->method('dns_get_record')
|
||||||
|
@ -40,10 +40,11 @@ class ProjectHoneyPotTest extends TestCase
|
||||||
|
|
||||||
public function testCategory0()
|
public function testCategory0()
|
||||||
{
|
{
|
||||||
$mock = $this->getMockBuilder('joshtronic\\ProjectHoneyPot')
|
$mock = $this->getMock(
|
||||||
->setConstructorArgs(array('foobarfoobar'))
|
'joshtronic\ProjectHoneyPot',
|
||||||
->setMethods(array('dns_get_record'))
|
array('dns_get_record'),
|
||||||
->getMock();
|
array('foobarfoobar')
|
||||||
|
);
|
||||||
|
|
||||||
$mock->expects($this->once())
|
$mock->expects($this->once())
|
||||||
->method('dns_get_record')
|
->method('dns_get_record')
|
||||||
|
@ -56,10 +57,11 @@ class ProjectHoneyPotTest extends TestCase
|
||||||
|
|
||||||
public function testCategory1()
|
public function testCategory1()
|
||||||
{
|
{
|
||||||
$mock = $this->getMockBuilder('joshtronic\\ProjectHoneyPot')
|
$mock = $this->getMock(
|
||||||
->setConstructorArgs(array('foobarfoobar'))
|
'joshtronic\ProjectHoneyPot',
|
||||||
->setMethods(array('dns_get_record'))
|
array('dns_get_record'),
|
||||||
->getMock();
|
array('foobarfoobar')
|
||||||
|
);
|
||||||
|
|
||||||
$mock->expects($this->once())
|
$mock->expects($this->once())
|
||||||
->method('dns_get_record')
|
->method('dns_get_record')
|
||||||
|
@ -72,10 +74,11 @@ class ProjectHoneyPotTest extends TestCase
|
||||||
|
|
||||||
public function testCategory2()
|
public function testCategory2()
|
||||||
{
|
{
|
||||||
$mock = $this->getMockBuilder('joshtronic\\ProjectHoneyPot')
|
$mock = $this->getMock(
|
||||||
->setConstructorArgs(array('foobarfoobar'))
|
'joshtronic\ProjectHoneyPot',
|
||||||
->setMethods(array('dns_get_record'))
|
array('dns_get_record'),
|
||||||
->getMock();
|
array('foobarfoobar')
|
||||||
|
);
|
||||||
|
|
||||||
$mock->expects($this->once())
|
$mock->expects($this->once())
|
||||||
->method('dns_get_record')
|
->method('dns_get_record')
|
||||||
|
@ -88,10 +91,11 @@ class ProjectHoneyPotTest extends TestCase
|
||||||
|
|
||||||
public function testCategory3()
|
public function testCategory3()
|
||||||
{
|
{
|
||||||
$mock = $this->getMockBuilder('joshtronic\\ProjectHoneyPot')
|
$mock = $this->getMock(
|
||||||
->setConstructorArgs(array('foobarfoobar'))
|
'joshtronic\ProjectHoneyPot',
|
||||||
->setMethods(array('dns_get_record'))
|
array('dns_get_record'),
|
||||||
->getMock();
|
array('foobarfoobar')
|
||||||
|
);
|
||||||
|
|
||||||
$mock->expects($this->once())
|
$mock->expects($this->once())
|
||||||
->method('dns_get_record')
|
->method('dns_get_record')
|
||||||
|
@ -107,10 +111,11 @@ class ProjectHoneyPotTest extends TestCase
|
||||||
|
|
||||||
public function testCategory4()
|
public function testCategory4()
|
||||||
{
|
{
|
||||||
$mock = $this->getMockBuilder('joshtronic\\ProjectHoneyPot')
|
$mock = $this->getMock(
|
||||||
->setConstructorArgs(array('foobarfoobar'))
|
'joshtronic\ProjectHoneyPot',
|
||||||
->setMethods(array('dns_get_record'))
|
array('dns_get_record'),
|
||||||
->getMock();
|
array('foobarfoobar')
|
||||||
|
);
|
||||||
|
|
||||||
$mock->expects($this->once())
|
$mock->expects($this->once())
|
||||||
->method('dns_get_record')
|
->method('dns_get_record')
|
||||||
|
@ -126,10 +131,11 @@ class ProjectHoneyPotTest extends TestCase
|
||||||
|
|
||||||
public function testCategory5()
|
public function testCategory5()
|
||||||
{
|
{
|
||||||
$mock = $this->getMockBuilder('joshtronic\\ProjectHoneyPot')
|
$mock = $this->getMock(
|
||||||
->setConstructorArgs(array('foobarfoobar'))
|
'joshtronic\ProjectHoneyPot',
|
||||||
->setMethods(array('dns_get_record'))
|
array('dns_get_record'),
|
||||||
->getMock();
|
array('foobarfoobar')
|
||||||
|
);
|
||||||
|
|
||||||
$mock->expects($this->once())
|
$mock->expects($this->once())
|
||||||
->method('dns_get_record')
|
->method('dns_get_record')
|
||||||
|
@ -145,10 +151,11 @@ class ProjectHoneyPotTest extends TestCase
|
||||||
|
|
||||||
public function testCategory6()
|
public function testCategory6()
|
||||||
{
|
{
|
||||||
$mock = $this->getMockBuilder('joshtronic\\ProjectHoneyPot')
|
$mock = $this->getMock(
|
||||||
->setConstructorArgs(array('foobarfoobar'))
|
'joshtronic\ProjectHoneyPot',
|
||||||
->setMethods(array('dns_get_record'))
|
array('dns_get_record'),
|
||||||
->getMock();
|
array('foobarfoobar')
|
||||||
|
);
|
||||||
|
|
||||||
$mock->expects($this->once())
|
$mock->expects($this->once())
|
||||||
->method('dns_get_record')
|
->method('dns_get_record')
|
||||||
|
@ -164,10 +171,11 @@ class ProjectHoneyPotTest extends TestCase
|
||||||
|
|
||||||
public function testCategory7()
|
public function testCategory7()
|
||||||
{
|
{
|
||||||
$mock = $this->getMockBuilder('joshtronic\\ProjectHoneyPot')
|
$mock = $this->getMock(
|
||||||
->setConstructorArgs(array('foobarfoobar'))
|
'joshtronic\ProjectHoneyPot',
|
||||||
->setMethods(array('dns_get_record'))
|
array('dns_get_record'),
|
||||||
->getMock();
|
array('foobarfoobar')
|
||||||
|
);
|
||||||
|
|
||||||
$mock->expects($this->once())
|
$mock->expects($this->once())
|
||||||
->method('dns_get_record')
|
->method('dns_get_record')
|
||||||
|
@ -183,10 +191,11 @@ class ProjectHoneyPotTest extends TestCase
|
||||||
|
|
||||||
public function testCategoryDefault()
|
public function testCategoryDefault()
|
||||||
{
|
{
|
||||||
$mock = $this->getMockBuilder('joshtronic\\ProjectHoneyPot')
|
$mock = $this->getMock(
|
||||||
->setConstructorArgs(array('foobarfoobar'))
|
'joshtronic\ProjectHoneyPot',
|
||||||
->setMethods(array('dns_get_record'))
|
array('dns_get_record'),
|
||||||
->getMock();
|
array('foobarfoobar')
|
||||||
|
);
|
||||||
|
|
||||||
$mock->expects($this->once())
|
$mock->expects($this->once())
|
||||||
->method('dns_get_record')
|
->method('dns_get_record')
|
||||||
|
@ -202,10 +211,11 @@ class ProjectHoneyPotTest extends TestCase
|
||||||
|
|
||||||
public function testWithout127()
|
public function testWithout127()
|
||||||
{
|
{
|
||||||
$mock = $this->getMockBuilder('joshtronic\\ProjectHoneyPot')
|
$mock = $this->getMock(
|
||||||
->setConstructorArgs(array('foobarfoobar'))
|
'joshtronic\ProjectHoneyPot',
|
||||||
->setMethods(array('dns_get_record'))
|
array('dns_get_record'),
|
||||||
->getMock();
|
array('foobarfoobar')
|
||||||
|
);
|
||||||
|
|
||||||
$mock->expects($this->once())
|
$mock->expects($this->once())
|
||||||
->method('dns_get_record')
|
->method('dns_get_record')
|
||||||
|
@ -217,11 +227,9 @@ class ProjectHoneyPotTest extends TestCase
|
||||||
// Doesn't serve much purpose aside from helping achieve 100% coverage
|
// Doesn't serve much purpose aside from helping achieve 100% coverage
|
||||||
public function testDnsGetRecord()
|
public function testDnsGetRecord()
|
||||||
{
|
{
|
||||||
$object = new ProjectHoneyPot('foobarfoobar');
|
$object = new joshtronic\ProjectHoneyPot('foobarfoobar');
|
||||||
|
|
||||||
$result = $object->dns_get_record('1.2.3.4');
|
$object->dns_get_record('1.2.3.4');
|
||||||
|
|
||||||
$this->assertEquals(array(), $result);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue