Beginning PHP5, Apache, and MySQL Web Development split phần 6

Một hình thức duy nhất có thể có nhiều hơn một hành động được xác định bằng cách sử dụng khác nhau trình nút. Và đó là nó! Họ đang nhận được dễ dàng hơn, không phải là họ? Ở lại với chúng tôi - chỉ là một vài Thêm short. Đó là một trong cuối cùng là một doozy, huh? | Chapter 12 ----Simpo PDF Merge and Split Unregistered Version - http Figure 12-6 The users obviously haven t logged in yet so they are not allowed to do anything else here. They are given the choice to log in if they have registered before or they can register to activate an account. Should the users decide to log in they will be presented with the same options as when you created the previous login pages. The page should look like the one in Figure 12-7. 390 User Logins Profiles and Personalization Simpo PDF Merge and Split Unregistered Version - http Figure 12-7 Users will be required to supply the usernames and passwords they chose for themselves. The only difference between this login page and the previous one you created is that the authorization is coming from a MySQL database rather than hard coding of the authorization into the pages themselves. If users don t enter the information correctly they will be asked for the information again and have the option to register from that page as well. If a user chooses to register he or she will see a page similar to the one in Figure 12-8. 391 Chapter 12 ----Simpo PDF Merge and Split Unregistered Version - http Figure 12-8 Now users can fill in their information and register to be a user of this site. Once the user fills in the information and hits the register button the code checks whether or not the required fields have been filled out. If one or more of the required fields is not filled out the form appears again with the information entered still in the form and an error message stating the problem. The page will look similar to the one shown in Figure 12-9. .

Không thể tạo bản xem trước, hãy bấm tải xuống
TÀI LIỆU MỚI ĐĂNG
182    215    1    29-04-2024
44    299    1    29-04-2024
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.