
Search In
How to check an Ajax request:
I am writing this blog specially for beginners who are learning Cakephp. In order to check whether the request is through Ajax or not. This can be checked by enabling the RequestHandler component in AppController or ena
This blog will let you know how to create sudo users on CentOS.
Steps to create new sudo user
Step One: Login to your server as root user
$ ssh root@server_ip_address
Step Two: Use the adduser command to add new user to your system
adduser use
When there are multiple images loaded on the page, this may cause page to load slower. In order to increase the speed of the page we need to cache the images via .htaccess or php code. Now I am writing down the php code that will store images in cach
This blog will let you know how to do troubleshooting in Redis. Redis logs are stored at location /var/log/redis/redis-server.log
To view the last 10 lines:
sudo tail /var/log/redis/redis-server.log
On Ubuntu 14.04 Redis log files are loc
Hello Friends,
If you are new in WP and you would like to use short code, get the knowledge of this as below.
Short code is a simple piece of code use in POST or PAGE to invoke set of functionality. For example Contact Form 7 provide
[contact-for
How to get IP Address in Cakephp
I am writing this blog which will let you know how to get client's IP Address in Cakephp. The simplest way for getting client's IP Address in core php is $_SERVER['REMOTE_ADDR']. Similarly it is very
When I changed theme of blog then I lose the verification code. I saved the code and pasted in new theme but the verification is not working?
Use these step to install the django-1.4 in ubuntu
Step1- First check the python-2.7 version by use this commond
python -V
Step2- than use below link and install django-1.4 version
https://pypi.python.org/pypi/Django/1.4 and download th
I am writing this blog for them who are new to Cakephp and learning it. In Cakephp there are three ways to load models:
First way is:
App::import(): It will find and require()s the file and in order to use it you need to be instantiate the class. i
How to customize Map Marker:
This blog will help you understand how to customize the markers in google map. Specify the icon option on MarkerOptions to change the marker’s icon. The icon option can be either a string (the URL to the marker ico
