Wan net interview PHP written test
basic question: the difference between the
1. form and the submission method? According to the form, a large amount of information can be submitted by submitting a large amount of information between.
2.session and cookie?
answer: session: stores the global unique variable that the user access, stored on the server's PHP specified directory (session_dir) and stored in the
cookie: used to store continuous access to a page. Stored in the client, for Cookie, it is stored in the Temp directory of user WIN. Both
what is the transaction in the
3. database by time?
answer: transaction is an orderly set of database operations as a unit. If all operations in the group are successful, the transaction is considered successful, and even if only one operation fails, the transaction is not successful. If all operations are completed,
transaction is committed, and its modification will affect all other database processes. If an operation fails, the transaction will roll back, and the effect of the operation of the office will be cancelled.