Remove index.php From Url in Codeigniter RewriteBase / RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond $1 !^/(index\.php|assets/|humans\.txt) RewriteRule ^(.*)$ index.php?/$1 [L]
Read MoreCodeIgniter
For testing purposes, I would like to append a query string (let’s say testing=true) to any url requested from my website.
For testing purposes, I would like to append a query string (let’s say testing=true) to any url requested from my website. #E.g. I want to …
Read MoreRedirect all url with a query string in php
<IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{QUERY_STRING} !(^|&)testing=true(&|$) [NC] RewriteRule ^ %{REQUEST_URI}?testing=true [L,QSA,R] RewriteCond %{REQUEST_FILENAME} !-f …
Read MoreCreating Google API Console
To create a Google API Console project and client ID, follow these steps: Go to the Google API Console . From the project drop-down, select an existing project , …
Read MoreHow to create Google API from google console
Creating a Google API Console project and client ID Before you can integrate Google Sign-In into your website, you must have a Google API Console …
Read MoreFacebook login script
<script> window.fbAsyncInit = function() { FB.init({ appId : ‘{your-app-id}’, cookie : true, xfbml : true, version : ‘{latest-api-version}’ }); FB.AppEvents.logPageView(); }; (function(d, s, id){ var …
Read MoreI’m getting notices on server with PHP 5.5 preg_replace(): The /e modifier is deprecated
I’m getting notices on server with PHP 5.5 preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead i’m not sure but it seems the entity_decode …
Read MoreAppend a query string to any url requested from my website in Codeigniter
Append a query string to any url requested from my website in Codeigniter. Example. Url will look LikeExample. Url will look Like example.com example.com/product example.com/search?q=string …
Read MoreRemove index.php From Url in Codeigniter
Remove index.php From Url in Codeigniter RewriteBase / RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond $1 !^/(index\.php|assets/|humans\.txt) RewriteRule ^(.*)$ index.php?/$1 [L]
Read MoreCodeigniter $this->db->like is case sensitive
There is no case insensitive version of the like function. What we can do is transform both sides of the comparison to lower case, so …
Read More