TAILIEUCHUNG - Lecture Web technologies and programming – Lecture 25: Validating User Input

After studying this chapter you will be able to understand: Super global variables, passing form data, passing data with sessions, regular expressions in PHP, validating user input at server, string functions. | 1 CIIT-Human Computer Interaction-CSC456-Fall-2015-Mr. Tehseen Riaz Abbasi 1 2 3 3 Passing Form Data action method (POST or GET) When to Use GET? When to Use POST? Compare GET vs. POST Super Global Variables 4 Passing data with forms Passing Text Field Data Passing Hidden Field Data Getting Value From Checkbox Getting Value From Radio Button Getting Value From Select List Using session Variables 5 Regular expressions in PHP Validating user input at server String functions 6 6 Department of Computer Science, CIIT Islamabad. Regular expressions are sequence or pattern of characters itself. They provide the foundation for pattern-matching functionality A regular expression is a concise notation to describe patterns in strings Regular expressions provide the foundation for describing or matching data according to defined syntax rules Example:

TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã 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.