create_user_from_drupal_to_smf

The php code is given below.

<?php
require_once (‘/home1/onezerl5/public_html/theinstantsolutions/projects/drupaltest_7/smf/smf_2_api.php’);
$reg = array(
‘member_name’ => ‘frank1′,
’email’ => ‘ankfreeze1@gmail.com’,
‘require’ => ‘nothing’,
‘password’ => ‘12345678’,
‘password_check’ => ‘12345678’,
);
smfapi_registerMember($reg);
?>

Was this article helpful?

Related Articles