Category Archives: CakePHP
How to add primary key in table?
How to redirect from http to https using .htaccess ?
Redirect to https If you want to redirect each request coming should go to https instead of HTTP without any plugin. then Step1: Go to root directory of your website and look for .htaccess file. It should be exist in root directory. Step2: Find the ‘RewriteEngine On’ Add the following code after that. 1 2… Read More »
How to Translate Text to desired language ?
Just follow these steps and copy & paste the code you can translate text easily. Step 1 : Make a div with id (id is compulsory) Like <div id="content">Loading…</div><div id="content">Loading…</div> Step 2 : Paste the following code to head section under script tag of your webpage. <script type="text/javascript"> google.load("language", "1"); function initialize() {… Read More »