cakephp3 disable deprecation warnings by setting
cakephp3 You can disable deprecation warnings by setting `Error.errorLevel` to `E_ALL & ~E_USER_DEPRECATED` in your config/app.php ‘Error’ => [ ‘errorLevel’…
cakephp3 You can disable deprecation warnings by setting `Error.errorLevel` to `E_ALL & ~E_USER_DEPRECATED` in your config/app.php ‘Error’ => [ ‘errorLevel’…
To use google reCaptcha with php you can read How to use google recaptcha with PHP . In this tutorial we…
Step 1 So First Add this js to your header or default layout or your preferred location where you call…
$conditions = array( ‘Tweet.text LIKE’ => ‘%aa%’, //implied and array( //implied and ‘or’ => array( array(‘Tweet.text LIKE’ => ‘%11%’), array(‘Tweet.text…
http://mark-story.com/posts/view/using-bindmodel-to-get-to-deep-relations Now we want to find the Division that a particular Item belongs to. In normal SQL we could do Show…
http://blog.designs.codes/multi-language-website-using-cakephp/ Multiple languages in a CakePHP 2.* application in 5 steps https://book.cakephp.org/2.0/en/core-libraries/internationalization-and-localization.html
define( ‘WP_DEBUG’, true ); define( ‘WP_DEBUG_DISPLAY’, false ); define( ‘WP_DEBUG_LOG’, true ); if ( ! function_exists(‘write_log’)) { function write_log (…
public function beforeFilter() { parent::beforeFilter(); if (isset($this->Security)) { //&& isset($this->Auth)) { $this->Security->validatePost = false; $this->Security->enabled = false; $this->Security->csrfCheck = false;…
Creating a simple admin center If you need to create an administrative back-end for your CakePHP site and would like…
Well, first you must know that almost all stuff in cakePHP is stored in arrays, from top-develop side of view.…
$sources = ConnectionManager::sourceList(); $logs = array(); foreach ($sources as $source): $db = ConnectionManager::getDataSource($source); if (!method_exists($db, ‘getLog’)): continue; endif; $logs[$source] =…
A complete tutorial on CakePHP and AJAX forms using jQuery
Since I am not storing anything in a database in this tutorial, the model does not use a database table.…
http://code.tutsplus.com/tutorials/20-excellent-ajax-effects-you-should-know–net-1090
CakePHP Auth Component Login Tutorial