fixed read m id

This commit is contained in:
Olu Amey
2023-02-13 21:19:04 -05:00
parent 35cfb9edd3
commit 8f7546b614
5 changed files with 17 additions and 26 deletions
+7 -5
View File
@@ -5,7 +5,7 @@ $wrenchboard = new wrenchboard_class();
$email = 'ses66181+1@gmail.com';
$email = 'ses66181+2@gmail.com';
// $email = 'ses66181+2@gmail.com';
$data['username'] = $email;
@@ -20,10 +20,12 @@ $ret = $wrenchboard->wrenchboard_api($data,$out);
if ($out['internal_return'] == 100){
echo 'Save the session for other use - you will need it';
$myfile = fopen("../writable/session.txt", "w") or die("Unable to open file!");
fwrite($myfile, $out['session']);
fwrite($myfile, "\n");
fwrite($myfile, $out['member_id']);
fclose($myfile);
fwrite($myfile, $out['session']);
fwrite($myfile, "\n");
fwrite($myfile, $out['member_id']);
fwrite($myfile, "\n");
fwrite($myfile, $out['uid']);
fclose($myfile);
}
?>