 CakePHP Cookbook Documentation 5.xare used in BelongsToMany relationships between models. These should be named for the tables they connect. The names should be pluralized and sorted alphabetically: articles_tags, not tags_articles or article_tags the welcome page. All the bullet points should be green chef hats other than CakePHP being able to connect to your database. If not, you may need to install additional PHP extensions, or set directory permissions Post', 'first-post', 'This is the first post.', 1, NOW(), NOW()); If you are using PostgreSQL, connect to the cake_cms database and execute the following SQL instead: CREATE TABLE users ( id SERIAL0 码力 | 1080 页 | 939.39 KB | 1 年前3 CakePHP Cookbook Documentation 5.xare used in BelongsToMany relationships between models. These should be named for the tables they connect. The names should be pluralized and sorted alphabetically: articles_tags, not tags_articles or article_tags the welcome page. All the bullet points should be green chef hats other than CakePHP being able to connect to your database. If not, you may need to install additional PHP extensions, or set directory permissions Post', 'first-post', 'This is the first post.', 1, NOW(), NOW()); If you are using PostgreSQL, connect to the cake_cms database and execute the following SQL instead: CREATE TABLE users ( id SERIAL0 码力 | 1080 页 | 939.39 KB | 1 年前3
 CakePHP Cookbook Documentation 5.xare used in BelongsToMany relationships between models. These should be named for the tables they connect. The names should be pluralized and sorted alphabetically: articles_tags, not tags_articles or article_tags the welcome page. All the bullet points should be green chef hats other than CakePHP being able to connect to your database. If not, you may need to install additional PHP extensions, or set directory permissions Post', 'first-post', 'This is the first post.', 1, NOW(), NOW()); If you are using PostgreSQL, connect to the cake_cms database and execute the following SQL instead: CREATE TABLE users ( id SERIAL0 码力 | 848 页 | 2.53 MB | 1 年前3 CakePHP Cookbook Documentation 5.xare used in BelongsToMany relationships between models. These should be named for the tables they connect. The names should be pluralized and sorted alphabetically: articles_tags, not tags_articles or article_tags the welcome page. All the bullet points should be green chef hats other than CakePHP being able to connect to your database. If not, you may need to install additional PHP extensions, or set directory permissions Post', 'first-post', 'This is the first post.', 1, NOW(), NOW()); If you are using PostgreSQL, connect to the cake_cms database and execute the following SQL instead: CREATE TABLE users ( id SERIAL0 码力 | 848 页 | 2.53 MB | 1 年前3
 CakePHP Cookbook 4.x
are used in BelongsToMany relationships between models. These should be named for the tables they connect. The names should be pluralized and sorted alphabetically: articles_tags, not tags_articles or article_tags the welcome page. All the bullet points should be green chef hats other than CakePHP being able to connect to your database. If not, you may need to install additional PHP extensions, or set directory permissions Post', 'first-post', 'This is the first post.', 1, NOW(), NOW()); If you are using PostgreSQL, connect to the cake_cms database and execute the following SQL instead: CREATE TABLE users ( id SERIAL0 码力 | 1249 页 | 1.04 MB | 1 年前3 CakePHP Cookbook 4.x
are used in BelongsToMany relationships between models. These should be named for the tables they connect. The names should be pluralized and sorted alphabetically: articles_tags, not tags_articles or article_tags the welcome page. All the bullet points should be green chef hats other than CakePHP being able to connect to your database. If not, you may need to install additional PHP extensions, or set directory permissions Post', 'first-post', 'This is the first post.', 1, NOW(), NOW()); If you are using PostgreSQL, connect to the cake_cms database and execute the following SQL instead: CREATE TABLE users ( id SERIAL0 码力 | 1249 页 | 1.04 MB | 1 年前3
 CakePHP Cookbook 4.x
are used in BelongsToMany relationships between models. These should be named for the tables they connect. The names should be pluralized and sorted alphabetically: articles_tags, not tags_articles or article_tags the welcome page. All the bullet points should be green chef hats other than CakePHP being able to connect to your database. If not, you may need to install additional PHP extensions, or set directory permissions Post', 'first-post', 'This is the first post.', 1, NOW(), NOW()); If you are using PostgreSQL, connect to the cake_cms database and execute the following SQL instead: CREATE TABLE users ( id SERIAL0 码力 | 967 页 | 2.88 MB | 1 年前3 CakePHP Cookbook 4.x
are used in BelongsToMany relationships between models. These should be named for the tables they connect. The names should be pluralized and sorted alphabetically: articles_tags, not tags_articles or article_tags the welcome page. All the bullet points should be green chef hats other than CakePHP being able to connect to your database. If not, you may need to install additional PHP extensions, or set directory permissions Post', 'first-post', 'This is the first post.', 1, NOW(), NOW()); If you are using PostgreSQL, connect to the cake_cms database and execute the following SQL instead: CREATE TABLE users ( id SERIAL0 码力 | 967 页 | 2.88 MB | 1 年前3
 CakePHP Cookbook 3.x
the welcome page. All the bullet points should be green chef hats other than CakePHP being able to connect to your database. If not, you may need to install additional PHP extensions, or set directory permissions CakePHP provides. Database Configuration Next, let’s tell CakePHP where our database is and how to connect to it. Replace the values in the Datasources.default array in your config/app_local.php file with ]; Once you’ve saved your config/app_local.php file, you should see that ‘CakePHP is able to connect to the database’ section have a green chef hat. Note A copy of CakePHP’s default configuration0 码力 | 1244 页 | 1.05 MB | 1 年前3 CakePHP Cookbook 3.x
the welcome page. All the bullet points should be green chef hats other than CakePHP being able to connect to your database. If not, you may need to install additional PHP extensions, or set directory permissions CakePHP provides. Database Configuration Next, let’s tell CakePHP where our database is and how to connect to it. Replace the values in the Datasources.default array in your config/app_local.php file with ]; Once you’ve saved your config/app_local.php file, you should see that ‘CakePHP is able to connect to the database’ section have a green chef hat. Note A copy of CakePHP’s default configuration0 码力 | 1244 页 | 1.05 MB | 1 年前3
 CakePHP Cookbook 3.x
the welcome page. All the bullet points should be green chef hats other than CakePHP being able to connect to your database. If not, you may need to install additional PHP extensions, or set directory permissions CakePHP provides. Database Configuration Next, let’s tell CakePHP where our database is and how to connect to it. Replace the values in the Datasources. default array in your config/app_local.php file with 3.10 Once you’ve saved your config/app_local.php file, you should see that ‘CakePHP is able to connect to the database’ section have a green chef hat. Note: A copy of CakePHP’s default configuration0 码力 | 967 页 | 2.80 MB | 1 年前3 CakePHP Cookbook 3.x
the welcome page. All the bullet points should be green chef hats other than CakePHP being able to connect to your database. If not, you may need to install additional PHP extensions, or set directory permissions CakePHP provides. Database Configuration Next, let’s tell CakePHP where our database is and how to connect to it. Replace the values in the Datasources. default array in your config/app_local.php file with 3.10 Once you’ve saved your config/app_local.php file, you should see that ‘CakePHP is able to connect to the database’ section have a green chef hat. Note: A copy of CakePHP’s default configuration0 码力 | 967 页 | 2.80 MB | 1 年前3
 CakePHP Cookbook 2.x
CakePHP Database Configuration Onward and upward: let’s tell CakePHP where our database is and how to connect to it. For many, this is the first and last time you configure anything. A copy of CakePHP’s database should also tell you that your database connection file was found, and that CakePHP can successfully connect to the database. Note Remember that you’ll need to have PDO, and pdo_mysql enabled in your php unset($post); ?> You might have noticed the use of an object called $this->Html. This is an instance of the CakePHP HtmlHelper class. CakePHP comes with a set of view helpers that make things like0 码力 | 1096 页 | 958.62 KB | 1 年前3 CakePHP Cookbook 2.x
CakePHP Database Configuration Onward and upward: let’s tell CakePHP where our database is and how to connect to it. For many, this is the first and last time you configure anything. A copy of CakePHP’s database should also tell you that your database connection file was found, and that CakePHP can successfully connect to the database. Note Remember that you’ll need to have PDO, and pdo_mysql enabled in your php unset($post); ?> You might have noticed the use of an object called $this->Html. This is an instance of the CakePHP HtmlHelper class. CakePHP comes with a set of view helpers that make things like0 码力 | 1096 页 | 958.62 KB | 1 年前3
 CakePHP Cookbook 2.x
CakePHP Database Configuration Onward and upward: let’s tell CakePHP where our database is and how to connect to it. For many, this is the first and last time you configure anything. A copy of CakePHP’s database should also tell you that your database connection file was found, and that CakePHP can successfully connect to the database. Note: Remember that you’ll need to have PDO, and pdo_mysql enabled in your php setup, you will have to modify this, but at the very least, you will need PHP running as a FastCGI instance. server { listen 80; server_name www.example.com; rewrite ^(.*) http://example.com$1 permanent;0 码力 | 820 页 | 2.52 MB | 1 年前3 CakePHP Cookbook 2.x
CakePHP Database Configuration Onward and upward: let’s tell CakePHP where our database is and how to connect to it. For many, this is the first and last time you configure anything. A copy of CakePHP’s database should also tell you that your database connection file was found, and that CakePHP can successfully connect to the database. Note: Remember that you’ll need to have PDO, and pdo_mysql enabled in your php setup, you will have to modify this, but at the very least, you will need PHP running as a FastCGI instance. server { listen 80; server_name www.example.com; rewrite ^(.*) http://example.com$1 permanent;0 码力 | 820 页 | 2.52 MB | 1 年前3
 Guzzle PHP 6.5 DocumentationEnvironment Variables Relevant ini Settings Request Options allow_redirects auth body cert cookies connect_timeout debug decode_content delay expect force_ip_resolve form_params headers http_errors idn_conversion (string|UriInterface) Base URI of the client that is merged into relative URIs. Can be a string or instance of UriInterface. When a relative URI is provided to a client, the client will combine the base URI $body); $promise = $client->sendAsync($request); // Or, if you don't need to pass in a request instance: $promise = $client->requestAsync('GET', 'http://httpbin.org/get'); The promise returned by these0 码力 | 65 页 | 311.42 KB | 11 月前3 Guzzle PHP 6.5 DocumentationEnvironment Variables Relevant ini Settings Request Options allow_redirects auth body cert cookies connect_timeout debug decode_content delay expect force_ip_resolve form_params headers http_errors idn_conversion (string|UriInterface) Base URI of the client that is merged into relative URIs. Can be a string or instance of UriInterface. When a relative URI is provided to a client, the client will combine the base URI $body); $promise = $client->sendAsync($request); // Or, if you don't need to pass in a request instance: $promise = $client->requestAsync('GET', 'http://httpbin.org/get'); The promise returned by these0 码力 | 65 页 | 311.42 KB | 11 月前3
 Guzzle PHP 6.5 Documentation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 1.3.6 connect_timeout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 1.3.7 (string|UriInterface) Base URI of the client that is merged into relative URIs. Can be a string or instance of UriInterface. When a relative URI is provided to a client, the client will combine the base URI $body); $promise = $client->sendAsync($request); // Or, if you don't need to pass in a request instance: $promise = $client->requestAsync('GET', 'http://httpbin.org/get'); The promise returned by these0 码力 | 50 页 | 237.04 KB | 11 月前3 Guzzle PHP 6.5 Documentation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 1.3.6 connect_timeout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 1.3.7 (string|UriInterface) Base URI of the client that is merged into relative URIs. Can be a string or instance of UriInterface. When a relative URI is provided to a client, the client will combine the base URI $body); $promise = $client->sendAsync($request); // Or, if you don't need to pass in a request instance: $promise = $client->requestAsync('GET', 'http://httpbin.org/get'); The promise returned by these0 码力 | 50 页 | 237.04 KB | 11 月前3
共 70 条
- 1
- 2
- 3
- 4
- 5
- 6
- 7














