TAILIEUCHUNG - Lecture Introduction to web engineering - Lec 32: CONNECTIONS: web application
Lecture Introduction to web engineering - Lec 32: CONNECTIONS: web application. After studying this chapter you will be able to understand: User registration (already discussed), user login (already discussed), send message, inbox, out box, sign-out. | Basharat Mahmood, Department of Computer Science,CIIT,Islamabad, Pakistan. 1 Deleting records in MySQL using PHP Updating records in MySQL using PHP Basharat Mahmood, Department of Computer Science,CIIT,Islamabad, Pakistan. 2 User registration (already discussed) User login (already discussed) Send Message Inbox Out Box Sign-Out Basharat Mahmood, Department of Computer Science,CIIT,Islamabad, Pakistan. 3 User registration form: Home page Action page: Retrieve user’s input Validate input Connection with DB Insert record into users table Basharat Mahmood, Department of Computer Science,CIIT,Islamabad, Pakistan. 4 User login form: Home page Action page: Retrieve user’s input Connection with DB Select record from users table where user email and password are same as user’s input Basharat Mahmood, Department of Computer Science,CIIT,Islamabad, Pakistan. 5 If one row is selected then: Session variables are registered $_SESSION[‘name’]; $_SESSION[‘email’]; $_SESSION[‘password’]; Redirect to
đang nạp các trang xem trước