Đang chuẩn bị liên kết để tải về tài liệu:
Tương tác giữa PHP và jQuery - part 24

Đang chuẩn bị nút TẢI XUỐNG, xin hãy chờ

CHAPTER 6 ■ PASSWORD PROTECTION SENSITIVE ACTIONS AND AREAS include_once 'assets/common/footer.inc.php'; ? Now save this code and try to directly access http://localhost/confirmdelete.php while logged out. As expected, you’ll be redirected to http://localhost/ instead. Summary In this chapter, you learned how to add user authorization to your calendar app, which means only authorized users can now make modifications to the calendar. You learned how to create the Admin class, check login credentials, display admin tools to admins only, and limit access to admin pages. In the next chapter, you’ll start integrating jQuery into the application to progressively enhance the user experience. 231 P A R T ■■■ 3 Combining. | CHAPTER 6 PASSWORD PROTECTION SENSITIVE ACTIONS AND AREAS include_once assets common footer.inc.php Now save this code and try to directly access http localhost confirmdelete.php while logged out. As expected you ll be redirected to http localhost instead. Summary In this chapter you learned how to add user authorization to your calendar app which means only authorized users can now make modifications to the calendar. You learned how to create the Admin class check login credentials display admin tools to admins only and limit access to admin pages. In the next chapter you ll start integrating jQuery into the application to progressively enhance the user experience. 231 P A R T 3 Combining jQuery with PHP Applications With the calendar running properly you can now enhance the application with jQuery to improve the user experience. In the following chapters you ll create a layer of JavaScript that will sit on top of your app to add AJAX .