Dear community;
I'm using the SMF API script (not the "REST" api script) for registering some users into the smf db.
My code:
code:
<?php
//include api
require_once('smf_api.php');
$regOptions = array(
'member_name' => 'autouser',
'email' => 'e@mail.de',
'password' => 'testtest',
'memberGroup' => 4,
);
$userid = smfapi_registerMember($regOptions);
echo'user created ' . $userid ;
?>
For some reason, the screen stays white while running the script. Any idea why this occurs? Is there any page where I can see all options for the registration ($regOptions) array? Like privacy settings, user title etc. etc.
All the best;