Return to Snippet

Revision: 38452
at January 3, 2011 11:44 by GeekOfWeb


Initial Code
<?php
ini_set('memory_limit','64M');
set_time_limit(0);

require_once 'domain.class.php';

if($_SERVER['REQUEST_METHOD'] != 'POST')
{
	die("NO POST DATA FOUND.");
}
$ext = $_POST['tlds'];
$save = $_POST['save'];


$randomainer = new Randomainer();
$randomainer->maxDomain = 100;
$randomainer->generateDomainName($ext);

if($save == '1') // if the save option is selected, we will save the results.
{
	$randomainer->save();
}
?>

Initial URL


Initial Description


Initial Title
Kod Savas round 1 - save.php

Initial Tags


Initial Language
PHP