CakePHP Cookbook 2.x
directives Creating a custom session handler Reading & writing session data Exceptions Exception configuration Exception classes Built-in Exceptions for CakePHP Using HTTP exceptions in your controllers Exception exceptions Extending and implementing your own Exception handlers Create your own Exception handler with Exception.handler Using AppController::appError() Using a custom renderer with Exception.renderer to handle handle application exceptions Error Handling Error configuration Creating your own error handler Changing fatal error behavior Debugging Basic Debugging Debugger Class Using the Debugger Class Using0 码力 | 1096 页 | 958.62 KB | 1 年前3
CakePHP Cookbook 2.x
user directory that already uses mod_rewrite. If you are installing CakePHP into a user directory (http://example.com/~username/ cakephp/), or any other URL structure that already utilizes mod_rewrite, PHP running as a FastCGI instance. server { listen 80; server_name www.example.com; rewrite ^(.*) http://example.com$1 permanent; } server { listen 80; server_name example.com; # root directive should of /con- troller/action/param1/param2. At this point, you should be able to point your browser to http://www.example.com/posts/index. You should see your view, correctly formatted with the title and table0 码力 | 820 页 | 2.52 MB | 1 年前3
CakePHP Cookbook 4.x
Prefix Routes Plugin Routing Creating Links to Plugin Routes SEO-Friendly Routing Matching Specific HTTP Methods Matching Specific Hostnames Routing File Extensions Route Scoped Middleware Grouping Middleware Request Conditions Session Data Host and Domain Name Reading the HTTP Method Restricting Which HTTP method an Action Accepts Reading HTTP Headers Trusting Proxy Headers Checking Accept Headers Reading Cookies Setting Headers Setting the Body Setting the Character Set Interacting with Browser Caching Fine Tuning HTTP Cache Setting Cookies Setting Cross Origin Request Headers (CORS) Common Mistakes with Immutable0 码力 | 1249 页 | 1.04 MB | 1 年前3
CakePHP Cookbook 4.x
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 693 Creating your Own Error Handler . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 697 20 Events System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 771 Creating a Custom Session Handler . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 771 Accessing the Session Dependencies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 807 Mocking HTTP Client Responses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8070 码力 | 967 页 | 2.88 MB | 1 年前3
CakePHP Cookbook Documentation 5.xPrefix Routes Plugin Routing Creating Links to Plugin Routes SEO-Friendly Routing Matching Specific HTTP Methods Matching Specific Hostnames Routing File Extensions Route Scoped Middleware Grouping Middleware Request Conditions Session Data Host and Domain Name Reading the HTTP Method Restricting Which HTTP method an Action Accepts Reading HTTP Headers Trusting Proxy Headers Checking Accept Headers Reading Cookies Setting Headers Setting the Body Setting the Character Set Interacting with Browser Caching Fine Tuning HTTP Cache Setting Cookies Setting Cross Origin Request Headers (CORS) Common Mistakes with Immutable0 码力 | 1080 页 | 939.39 KB | 1 年前3
CakePHP Cookbook 3.x
Prefix Routes Plugin Routing Creating Links to Plugin Routes SEO-Friendly Routing Matching Specific HTTP Methods Matching Specific Hostnames Routing File Extensions Connecting Scoped Middleware Grouping Request Conditions Session Data Host and Domain Name Reading the HTTP Method Restricting Which HTTP method an Action Accepts Reading HTTP Headers Trusting Proxy Headers Checking Accept Headers Cookies Setting Headers Setting the Body Setting the Character Set Interacting with Browser Caching Fine Tuning HTTP Cache Setting Cookies Setting Cross Origin Request Headers (CORS) Common Mistakes with Immutable0 码力 | 1244 页 | 1.05 MB | 1 年前3
CakePHP Cookbook 3.x
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 714 Creating your Own Error Handler . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 715 Creating your . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 784 Creating a Custom Session Handler . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 785 Accessing the Session . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 871 34 Http Client 887 Doing Requests . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .0 码力 | 967 页 | 2.80 MB | 1 年前3
CakePHP Cookbook Documentation 5.x. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 669 Creating a Custom Session Handler . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 669 Accessing the Session Dependencies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 703 Mocking HTTP Client Responses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 703 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 749 vi 34 Http Client 765 Doing Requests . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .0 码力 | 848 页 | 2.53 MB | 1 年前3
共 8 条
- 1













