Revision: 863
Updated Code
at August 16, 2006 18:28 by weitzman
Updated Code
$form = drupal_retrieve_form('user_register'); $form['#post']['edit']['name'] = 'robo-user'; $form['#post']['mail'] = '[email protected]'; $output = drupal_process_form('user_register');
Revision: 862
Updated Code
at August 16, 2006 10:18 by weitzman
Updated Code
<?php require 'includes/bootstrap.inc'; drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL); global $mypost, $form_post_key; $mypost['edit']['name'] = 'robo-user: '. format_date(time(), 'small'); $mypost['edit']['mail'] = time(). '@example.com'; $form_post_key = 'mypost'; $output = drupal_get_form('user_register'); print theme('page', $output);
Revision: 861
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at August 16, 2006 10:18 by weitzman
Initial Code
<?php require 'includes/bootstrap.inc'; drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL); global $mypost, $form_post_key; $mypost['edit']['name'] = 'robo-user: '. format_date(time(), 'small'); $mypost['edit']['mail'] = time(). '@example.com'; $form_post_key = 'mypost'; $output = drupal_get_form('user_register'); print theme('page', $output);
Initial URL
Initial Description
Initial Title
programmtic user registration
Initial Tags
textmate, drupal
Initial Language
PHP