How can I ignore submit when passing php forms? On-campus users need to import students in batches, but the user password in the database is specially encrypted, so direct import of the database is not acceptable.
Then I want to import the data before encryption to another table, and then call "add user" to encrypt the data, so that the user can be imported normally, in this case, N forms must be displayed, and N more submissions are required! It's too bad. can you help me? Thank you!
I use emlog and add thousands of authors, so I cannot manually add them one by one.
How can I increase the number in batches?
Thank you !!!
Reply to discussion (solution)
I don't understand why it cannot be directly exported. it's okay even if it's encrypted.
Right upstairs
I don't understand why it cannot be directly exported. it's okay even if it's encrypted.
The direct import is not encrypted. the password is incorrect upon login.
Right upstairs
The direct import is not encrypted. the password is incorrect upon login.
The password encryption method of the program is after eight md5 encryption, and then is added with another encryption method, and then md5 encryption is performed, the random numbers 0-1 and a-z are inserted and then encrypted again. Therefore, encryption software cannot be used to obtain encrypted characters locally. how can this problem be imported?
I don't understand why it cannot be directly exported. it's okay even if it's encrypted.
The direct import is not encrypted. the password is incorrect upon login.
That is to say, do you currently have plaintext password data ?, No encrypted data?
---------- Gorgeous split line --------------
1. you can find the program in emlog that converts the plaintext password to the encrypted password, for example, a function named markPwd ().
2. then you put the user data to be imported into a table, read the data using php, and convert the plaintext password in the table to the encrypted password through markPwd.
3. Insert the data obtained in step 2 to the table.
4. OK .. no form required
I installed emlog to encrypt the plaintext password in lines 39 and 40 of admin/user.
$ PHPASS = new PasswordHash (8, true); // instantiate the encryption class $ password = $ PHPASS-> HashPassword ($ password); // Convert plaintext to encryption
Good luck
Php simulated submission. isn't it a loop?
I installed emlog to encrypt the plaintext password in lines 39 and 40 of admin/user.
$ PHPASS = new PasswordHash (8, true); // instantiate the encryption class $ password = $ PHPASS-> HashPassword ($ password); // Convert plaintext to encryption
Good luck
This is what I did. I used a loop to get the plaintext password and then hash it to encrypt it, and then import the table that stores the password. Solved. thank you very much!
I installed emlog to encrypt the plaintext password in lines 39 and 40 of admin/user.
$ PHPASS = new PasswordHash (8, true); // instantiate the encryption class $ password = $ PHPASS-> HashPassword ($ password); // Convert plaintext to encryption
Good luck
This is what I did. I used a loop to get the plaintext password and then hash it to encrypt it, and then import the table that stores the password. Solved. thank you very much!