This article shows you how to create a virtual host in WAMP's Apache server on Windows.
Apache
Override the CakePHP maximum of 100 records in pagination.
CakePHP, CakePHP4
This example demonstrates how to return the first row or record from those returned in CakePHP.
CakePHP, CakePHP4
This example shows you how to add HTML to your flash messages. Helpful when you want to add a link in CakePHP flash messages.
Cake4, CAKEPHP 4
This article explains how to add a private subfolder in your public AWS S3 bucket.
AWS, S3
This example shows you how to obtain user information from the session.
CakePHP, CakePHP4
This example shows how you can get the current routing prefix in CakePHP.
CakePHP
This example shows you an example bucket policy which limits requests to those made from specific IP addresses.
AWS, S3
Quickly create/route an email address / "alias" without eating up the user's email aliases (30 allowed). Since I have multiple domains, aliases can add up quick and hit that 30-alias limit. The solution is to create a new default route.
Free Templates & Tools for Your Website
HTML5, SVG
This demo shows you how to prompt the browser to suggest a new password.
HTML5
Here's a brief few snippets for using sessions in CakePHP4.
CakePHP, CakePHP4
Convert an Object to an Array in PHP
PHP
Write and read cookies in your CakePHP 4 app.
CakePHP, CakePHP4
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
Use this example to sort by a specific value in a field within your table, then sort by other fields.
MySql / MariaDB
Adding HTML to a link in CakePHP 3
CakePHP
Search and filter records in a table using jQuery.
Javascript, jQuery
This article demonstrates how to login as another user by impersonation, in CakePHP4. This allows administrators to login as another user and test issues with that user.
CakePHP
This example shows how to get Querystring parameters from a URL.
CakePHP