<?php
require_once('include/functions.php');
@include('include/top.php');
$company = $_POST['company'];
$password = $_POST['password'];
$domains = $_POST['domains'];
create_company($company,$password);
$domains = join(preg_split("/\s+/",$domains,-1,PREG_SPLIT_NO_EMPTY),"\n");
set_company_domains($company,$domains);
update_databases();
redir("show_company.php?company={$company}&noc=".time());
@include('include/bottom.php');
?>