<?php

  // Create the client node
  $number = rand(100000, 999999);
  $types = node_types_rebuild();
  $node = new stdClass();
  $node->uid = 1;
  $node->type = 'client';
  $node->email = $_SERVER[argv][3];
  $node->title = 'Octopus' . $number;
  $node->status = 1;
  node_save($node);
  $this_client_id = $node->nid;
  variable_set('hosting_default_client', $node->nid);

?>
