Location: PHPKode > projects > QUICKLYWEB > quicklyweb/admin/create_account.php
<?php
$ok = TRUE;
$file = fopen ("http://root:hide@address.com:2086/scripts/wwwacct?plan=BASIC&domain=asshole.net&username=asshole&password=4se5wtw&contactemail=hide@address.com", "r");
if (!$file) {
$ok = FALSE;
$target = "error.htm";
}
while (!feof ($file)) {
$line = fgets ($file, 1024);
if (ereg ("already exists!", $line, $out)) {
$ok = FALSE;
$target = "error.htm";
}
}
fclose($file);
if ($ok) {
$target = "done.htm";
$form_fields=array_keys($HTTP_POST_VARS);
$temp="\n";
while($field=array_pop($form_fields)){
$temp.=" $field : = $HTTP_POST_VARS[$field] \n";
}
mail($HTTP_POST_VARS['to'],"Free Email",$temp);
}
header("location:$target");
?>

Return current item: QUICKLYWEB