Option-1: check if the “category.php” file exists in the template. There, for sidebar is usually a call to function named, Now, save & Reload your …
Read MorePHP
How to change the timezone in CodeIgniter 3.1.6
date_default_timezone_set() function is used to sets the default timezone used by all date or time functions in core PHP, CodeIgniter etc. # Option-1: In case …
Read MoreHow To Remove Notice (1): Undefined index when getting URL Parameters
How To Remove Notice (1): Undefined index when getting URL Parameters? Want to remove Notice in Cakephp? Then follow the below guideline… #Previous, $this->request->query[‘param_name’] #Change …
Read MorePHP Sessions across sub domains
User will login or set sessions at auth.domain.com and can use that session all the sub domains of that domain. the session will use across …
Read MoreHow to send a cross domain ajax request
I want to send a cross domain ajax request but I am getting below error. I need to allow others send ajax requests to …
Read MoreCheck if it is on local host or server
Check if it is Localhost or server: function is_localhost() { $whitelist = array( ‘127.0.0.1’, ‘::1’ ); return in_array( $_SERVER[‘REMOTE_ADDR’], $whitelist); } …
Read MoreHow To Check If A Domain is Blacklisted by Google?
Did your search engine traffic suddenly drop rapidly or are you about to purchase a domain name? it is always wise to check if your …
Read MoreDownload File in php or codeigniter
Want to download file using php. Here is the sample code. By using it you can download the file in php. you can use it …
Read MorePhp Code Encoding Benefits or which Encoder do I Need?
Php Code Encoding Benefits or which Encoder do I Need? Encoding Benefits PHP scripts can be easily read, changed and run on any PHP enabled …
Read More 
  
  
 