Secure PHP Building 50 Practical Applications Development phần 3 ppsx
... ‘user_mngr .php ; $USERMNGR_FORGOTTEN_APP = ‘user_mngr_forgotten_pwd .php ; $USERMNGR_CHANGE_PWD_APP = ‘user_mngr_passwd .php ; 192 Part II: Developing Intranet Solutions 09 549669 ch06.qxd 4/4/ 03 9:24 ... specifically the DB module needed for class.DBI .php in our application framework. $PHPLIB_DIR Set to the PHPLIB directory, which contains the PHPLIB packages; specifically the template...
Ngày tải lên: 13/08/2014, 12:21
... null; 18 Part I: Designing PHP Applications 03 549669 ch01.qxd 4/4/ 03 9:24 AM Page 18 Preface Welcome to Secure PHP Development: Building 50 Practical Applications. PHP has come a long way since ... looks as shown in Figure 1-2. 16 Part I: Designing PHP Applications 03 549669 ch01.qxd 4/4/ 03 9:24 AM Page 16 Secure PHP Development: Building 50 Practical...
Ngày tải lên: 13/08/2014, 12:21
... (class.ErrorHandler .php) , the debugger (class.Debugger .php) , and the database abstraction (class.DBI .php) . DB .php (from PEAR) class.PHPApplication .php class.Debugger.phpclass.ErrorHandler .php class.DBI .php Your ... create an abstract PHP application class. Listing 4-4: class.PHPApplication .php < ?php /* * * PHPApplication class * * @author < ;php@ evoknow.com> * @ac...
Ngày tải lên: 13/08/2014, 12:21
Secure PHP Building 50 Practical Applications Development phần 4 pot
... Interface PHP Application Framework Message Object Simple Intranet Document Publisher Applications Category Object Doc Object Response Object class.Message .php class.Category .php class.Doc .php class.Response .php Chapter ... classes that will provide these objects for your applications. 250 Part II: Developing Intranet Solutions 11 549669 ch08.qxd 4/4/ 03 9:25 AM Page 250 ■ I...
Ngày tải lên: 13/08/2014, 12:21
Secure PHP Building 50 Practical Applications Development phần 5 potx
... Resource Manager 37 3 14 549669 ch11.qxd 4/4/ 03 9:25 AM Page 37 3 Figure 10-5: Modifying an event. Figure 10-6: Viewing an event reminder at login. Chapter 10: Intranet Calendar Manager 35 7 13 549669 ch10.qxd ... in %DocumentRoot%/calendar_mngr/apps/templates. Chapter 10: Intranet Calendar Manager 35 3 13 549669 ch10.qxd 4/4/ 03 9:25 AM Page 35 3 Summary In this chapter, you saw...
Ngày tải lên: 13/08/2014, 12:21
Secure PHP Building 50 Practical Applications Development phần 7 docx
... a simple PHP script called helloworld .php. Listing 16-1: helloworld .php #!/usr/bin /php -q < ?php echo “Hello World\n”; ?> In PHP Version 4 .3. x, the -q option is not needed if the PHP binary ... user. Listing 16 -3 shows a simple script called arg .php, which prints out an array called $argv. Chapter 16: Command-Line PHP Utilities 5 63 21 549669 ch16.qxd 4/4/ 03 9:26...
Ngày tải lên: 13/08/2014, 12:21
Secure PHP Building 50 Practical Applications Development phần 8 doc
... system: $PEAR_DIR = ‘/example/intranet/htdocs/pear’ ; 636 Part IV: Using PHP for Sysadmin Tasks 22 549669 ch17.qxd 4/4/ 03 9:27 AM Page 636 3. A $zoneTemplate variable is used to store the fully ... FALSE; $message = array(); Continued Chapter 17: Apache Virtual Host Maker 633 22 549669 ch17.qxd 4/4/ 03 9:27 AM Page 633 Listing 17-5 (Continued) if (isset($cmd[‘disable’])) { echo “Disa...
Ngày tải lên: 13/08/2014, 12:21
Secure PHP Building 50 Practical Applications Development phần 9 pptx
... 192.168.1.100 130 .86.1.2 </Location> Chapter 22: Securing PHP Applications 7 43 29 549669 ch22.qxd 4/4/ 03 9:28 AM Page 7 43 Tuning and Securing PHP Applications CHAPTER 21 Speeding Up PHP Applications CHAPTER ... $fruit) { echo “Got $fruit <br>”; } } ?> Chapter 21: Speeding Up PHP Applications 733 28 549669 ch21.qxd 4/4/ 03 9:27 AM Page 733 echo ‘<p&g...
Ngày tải lên: 13/08/2014, 12:21
Secure PHP Building 50 Practical Applications Development phần 10 pot
... base, 3 4, 5 output buffering, 7 23 725 output compression, 725–726 PEAR cache, 729– 734 PHP opcode caching, 734 – 736 PHPA (PHP Accelerator), 735 – 736 portable directory structure, 4, 22– 23 relational ... method, 231 , 233 – 234 generateMonthlyReport() method, 232 , 234 generateOriginReport() method, 460–461 generateWeeklyReport() method, 232 , 234 geo location finder tool com...
Ngày tải lên: 13/08/2014, 12:21