daily pastebin goal
26%
SHARE
TWEET

Untitled

a guest Mar 17th, 2018 77 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $jUser->id = $i++;
  2.   //$jUser->id = rand();
  3.   $jUser->key = uniqid();
  4.   $jUser->name = $sName;
  5.   $jUser->lastName = $sLastName;
  6.   $jUser->email = $sEmail;
  7.   $jUser->username = $sUsername;
  8.   $jUser->password = $sPassword;
  9.   $jUser->picture = $sPathToSaveFile ;
  10.  
  11.   array_push( $ajUsers , $jUser );
  12.  
  13.   $sajUsers = json_encode( $ajUsers  );
  14.   file_put_contents( 'include/users.txt' , $sajUsers );
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top