Welcome To Snipplr
Everyone's Recent Snippets Tagged cakephp
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
This .htaccess actually forces all traffic to https, and allows cakephp app to work properly, as well as letsencrypt to go thru
0
1541
posted 7 years ago by acosonic
Name this script whatever you want, and run it via Workbench Scripting shell
0
1255
posted 7 years ago by acosonic
Typically when you use Security->requireSecure() to do https redirects, you have to make sure you do pass all data from http to https.
0
833
posted 8 years ago by Pidarasiya
How do you use the elastic-search plugin with cake's native pagination?
0
963
posted 8 years ago by Pidarasiya
<p>Follow these steps to secure your Cakephp Website:</p>
<p>*Before you actually start using Security Component functionality, make sure you use $components = array (‘Security’, ‘Auth’) in the array so you can extend its functionality in...
0
1094
posted 9 years ago by cakephpexpert
This post having the list of top 50 cakephp interview questions and answers
0
1245
posted 10 years ago by kp32
This post will explain how to upload and download PDF file in cakephp.
0
1398
posted 10 years ago by kp32
this method generates and returns a unique slug, given a string.
1
993
posted 12 years ago by artaserse
Get current url. Include domiain. For example :http:// localhost/root_folder.
0
1354
posted 12 years ago by tucq88
Ruby uses created_at and updated_at. Here cake will do the same thing.
based on http://book.cakephp.org/view/1015/created-and-modified
0
1014
posted 13 years ago by kendsnyder
Drop the Zend Framework Library folder into your Vendors folder
0
838
posted 14 years ago by shahways
This problem occurs when there is a duplicated name for the first level item (optgroup) and a second level item (option). The rendered select will not contain the mentioned option unless you do the following...
0
1246
posted 14 years ago by sveggiani
A small snippet on how to create a dynamic model in CakePHP (useful for global functions that need a model to function. IE functions defined in the AppController
0
765
posted 14 years ago by stolkchris
If you're ever bothered by CakePHP's limited breadcrumbs support for displaying them use this to build your own!
2
818
posted 14 years ago by stolkchris
This snippet can be called in every controller, all you need to do is to specify the form name, the model name and the data.
1
754
posted 14 years ago by stolkchris