PHP Classes

File: tests/getAddressCode.php

Recommend this page to a friend!
  Classes of Ali YILMAZ  >  Mind Framework  >  tests/getAddressCode.php  >  Download  
File: tests/getAddressCode.php
Role: Example script
Content type: text/plain
Description: Example script
Class: Mind Framework
Framework that implements several design patterns
Author: By
Last change:
Date: 2 months ago
Size: 774 bytes
 

Contents

Class file image Download
<?php

require_once '../src/Mind.php';

$Mind = new Mind();

// $ip = $Mind->addressGenerator('174.129.25.170', '174.129.25.200');
// $result = $Mind->getAddressCode($ip);
// $Mind->print_pre($result);


// $ip = $Mind->addressGenerator('174.129.25.170', '174.129.25.200');
// $result = $Mind->getAddressCode($ip, 403);
// $Mind->print_pre($result);


// $ip = $Mind->addressGenerator('174.129.25.170', '174.129.25.200');
// $result = $Mind->getAddressCode($ip, array(403));
// $Mind->print_pre($result);

// $ip = $Mind->addressGenerator('174.129.25.170', '174.129.25.200');
// $result = $Mind->getAddressCode($ip, array(301,403));
// $Mind->print_pre($result);

// $result = $Mind->getAddressCode('https://twitter.com/', array(200, 301,403));
// $Mind->print_pre($result);

For more information send a message to info at phpclasses dot org.