CakePHP Cookbook Documentation 5.xAdditional Reading Where to Get Help CakePHP Conventions CakePHP Folder Structure Quick Start Guide Content Management Tutorial Getting CakePHP Checking our Installation CMS Tutorial - Creating the Database adjustments ->withConsecutive() has been removed data providers have to be static Tutorials & Examples Content Management Tutorial Getting CakePHP Checking our Installation CMS Tutorial - Creating the Database Accept Headers Reading Cookies Uploaded Files Manipulating URIs Response Response Dealing with Content Types Sending Files Sending a String as File Setting Headers Setting the Body Setting the Character0 码力 | 1080 页 | 939.39 KB | 1 年前3
CakePHP Cookbook Documentation 5.x. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 2 Quick Start Guide 15 Content Management Tutorial . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41 4 Tutorials & Examples 45 Content Management Tutorial . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 187 Content Type Negotiation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 190 Content Type Negotiation Fallbacks . . . . .0 码力 | 848 页 | 2.53 MB | 1 年前3
CakePHP Cookbook 4.x
Additional Reading Where to Get Help CakePHP Conventions CakePHP Folder Structure Quick Start Guide Content Management Tutorial Getting CakePHP Checking our Installation CMS Tutorial - Creating the Database Features 4.5 Migration Guide Upgrading to 4.5.0 Deprecations New Features Tutorials & Examples Content Management Tutorial Getting CakePHP Checking our Installation CMS Tutorial - Creating the Database Accept Headers Reading Cookies Uploaded Files Manipulating URIs Response Response Dealing with Content Types Sending Files Sending a String as File Setting Headers Setting the Body Setting the Character0 码力 | 1249 页 | 1.04 MB | 1 年前3
CakePHP Cookbook 3.x
Additional Reading Where to Get Help CakePHP Conventions CakePHP Folder Structure Quick Start Guide Content Management Tutorial Getting CakePHP Checking our Installation CMS Tutorial - Creating the Database Migration Guide 3.0 Migration Guide 3.0 Migration Guide New ORM Upgrade Guide Tutorials & Examples Content Management Tutorial Getting CakePHP Checking our Installation CMS Tutorial - Creating the Database Reading HTTP Headers Trusting Proxy Headers Checking Accept Headers Cookies Response Dealing with Content Types Sending Files Sending a String as File Setting Headers Setting the Body Setting the Character0 码力 | 1244 页 | 1.05 MB | 1 年前3
CakePHP Cookbook 4.x
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 2 Quick Start Guide 15 Content Management Tutorial . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64 4 Tutorials & Examples 69 Content Management Tutorial . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 255 Content Type Negotiation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 258 Content Type Negotiation Fallbacks . . . . .0 码力 | 967 页 | 2.88 MB | 1 年前3
CakePHP Cookbook 3.x
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 2 Quick Start Guide 13 Content Management Tutorial . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74 4 Tutorials & Examples 109 Content Management Tutorial . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . anyway. Now that you’ve been introduced to CakePHP’s fundamentals, you might try a run through the Content Management Tutorial to see how things fit together. See awesome list recommendations18 for details0 码力 | 967 页 | 2.80 MB | 1 年前3
Laravel 5.6 中文文档X-Frame-Options "SAMEORIGIN"; add_header X-XSS-Protection "1; mode=block"; add_header X-Content-Type-Options "nosniff"; index index.html index.htm index.php; 本文档由 Laravel 学院提供 Laravel oken 中间件会检查 X-CSRF- TOKEN 请求头。实现方式如下,首先创建一个 meta 标签并将令牌保存到该 meta 标签: content="{{ csrf_token() }}"> 本文档由 Laravel 学院提供 Laravel 学院致力于提供优质 Laravel 中文学习资源:http://laravelacademy 攻击: $.ajaxSetup({ headers: { 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content') } }); X-XSRF-Token Laravel 还会将 CSRF 令牌保存到名为 XSRF-TOKEN 的 Cookie 中,你可以使用该 Cookie 值来设置0 码力 | 377 页 | 14.56 MB | 1 年前3
Laravel 6.0 中文文档add_header X-Frame-Options "SAMEORIGIN"; add_header X-XSS-Protection "1; mode=block"; add_header X-Content-Type-Options "nosniff"; index index.html index.htm index.php; charset utf-8; location / { try_files name="csrf-token" content="{{ csrf_token() }}"> 然后在 js 库(如 jQuery)中添加该令牌到所有请求头,这为基于 AJAX 的请求提供了简单、方便的方式来避免 CSRF 攻击: $.ajaxSetup({ headers: { 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').a ttr('content') } 获取 JSON 输入值 本文档由学院君提供 学院君致力于提供优质 Laravel 中文学习资源:https://xueyuanjun.com 255 发送 JSON 请求到应用的时候,只要 Content-Type 请求头被设置 为 application/json,都可以通过 input 方法获取 JSON 数据, 还可以通过“.”号解析数组: $name = $request->input('user0 码力 | 1442 页 | 14.66 MB | 1 年前3
Falcon v3.0.1 DocumentationError 5xx Server Error Error Handling Base Class Predefined Errors Media Usage Validating Media Content-Type Negotiation Exception Handling Replacing the Default Handlers Supported Handler Types Custom """Handles GET requests""" resp.status = falcon.HTTP_200 # This is the default status resp.content_type = falcon.MEDIA_TEXT # Default is JSON, so override resp.text = ('\nTwo things awe """Handles GET requests""" resp.status = falcon.HTTP_200 # This is the default status resp.content_type = falcon.MEDIA_TEXT # Default is JSON, so override resp.text = ('\nTwo things awe0 码力 | 1058 页 | 741.59 KB | 1 年前3
Falcon v3.0.0 DocumentationError 5xx Server Error Error Handling Base Class Predefined Errors Media Usage Validating Media Content-Type Negotiation Exception Handling Replacing the Default Handlers Supported Handler Types Custom """Handles GET requests""" resp.status = falcon.HTTP_200 # This is the default status resp.content_type = falcon.MEDIA_TEXT # Default is JSON, so override resp.text = ('\nTwo things awe """Handles GET requests""" resp.status = falcon.HTTP_200 # This is the default status resp.content_type = falcon.MEDIA_TEXT # Default is JSON, so override resp.text = ('\nTwo things awe0 码力 | 1055 页 | 739.30 KB | 1 年前3
共 78 条
- 1
- 2
- 3
- 4
- 5
- 6
- 8













