Code Stop Logo
  • Home

Search CodeStop.com

  • Home
  • Articles
Search Results for cakephp
CakePHP4 - Get the First Record in Records Returned

This example demonstrates how to return the first row or record from those returned in CakePHP.
CakePHP, CakePHP4

CakePHP4 - Skip CSRF Check for Prefixes With Api

This example shows you how to skip CSRF checks in CakePHP (when you have it globally enabled), for prefixes with 'Api'
CakePHP, CakePHP4

CakePHP 4 - Loading a Model Within a Component

This example shows you how to use a model (e.g. $this->Load('Model') ) from within a component, so you can use models like you would in a native controller.
cakephp4, Components

CakePHP 4 Using an app.php or app_local.php Variable in Components or Controllers

CakePHP 4 Using an app.php or app_local.php Variable in Components or Controllers
CakePHP

CakePHP 4 Component for Setting and Getting Cookies

This CakePHP 4 component lets you easily handle cookies. This example sets a unique ID cookie.
CakePHP, PHP

CakePHP 4 - Using Custom Prefixes for Routers & Templates (Other Than Admin)

Use an alternative prefix in CakePHP4. For example, you can have separate folders for different functionality by user role, and you can use this method to separate functionality (actions / methods) for specific purposes, in separate controllers.
CakePHP, CakePHP4

CakePHP Joining Multiple Instances of the Same Table in Your Model and Controller

Joining a single table on multiple fields in CakePHP 4, for example, join the users table on created_by and modified_by fields.
CakePHP 4, CakePHP

CakePHP4 Mailer Usage - Email Transport Example

CakePHP4 Mailer Usage - Gmail - Email Transport Example with CakePHP 4.
CakePHP, CakePHP4

CakePHP3 & CakePHP4: Get the Name of the Controller or Method

This example shows how to the get name of the controller or method in CakePHP3
CakePHP3, CakePHP

CakePHP - SQLSTATE[22007]: Invalid datetime format: 1366 Incorrect string value: '\xE2\x80\x8B}

How to fix the 1366 incorrect string value "\xE2\x80\x8B} ... error.
MySql / MariaDB

Can't use Gmail "Less Secure" SMTP feature for Your Web Apps or Email Clients? Here's the Solution!

If you have been using GMail's "less secure" feature to send SMTP emails from your website, you've probably noticed as of May 30, 2022 that it's no longer working. here's a solution.
Support

Sort by Specific Field-Values in a Field in MySql / MariaDB

Use this example to sort by a specific value in a field within your table, then sort by other fields.
MySql / MariaDB

Get a Unique ID in PHP

Get a Unique ID in PHP
PHP

Get the Referring Page

This example shows you how to get the referring page, so you can provide your user with a link to their last page.
CakePHP

Set Session Timeout Length

This demonstrates how to lengthen or shorten the session timeout for a logged-in user, in CakePHP. This functionality controls when the user's session times out.
CakePHP, CakePHP4, CakePHP3, CakePHP2

  • 1
  • 2
  • 3
Page 3 of 3, showing 15 record(s) out of 55 total
Related Info
cakephp cakephp4 components php cakephp 4 cakephp3 mysql / mariadb support cakephp2 
Porto Website Template

© Copyright 2009-2025. CodeStop.com. All Rights Reserved.