Aneh Thakur
71 Articles0 Comments

Redirect HTTP to HTTPS in Cakephp3

If you are building CakePHP application and want to move all traffic to HTTPS you can follow bellow simple steps without making any change in .htaccess  file Step 1. Edit AppController to make change …

PHP function to generate Slug

Here is simple function to generate slug in php. You can copy paste this function and generate slug by passing string in it.

function slugify($text){
// replace …

Set validation on run time cakephp3

This is very simple and tested method of validation you can use in your project. Some time we need to add validation on fly in our controller then at that case you can use this code.

About
Trinity tips is one of the best place for beginners to learn android, php, google and web design tutorial and tips. - Maintained by Aneh Thakur
Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 3 other subscribers