How can I ignore submit when passing php forms?

Source: Internet
Author: User
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!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.