Migrating from CI3 to CI4 on a current production enviroment could produce the common error when extension=intl is not enabled in php.ini. To fix this: Open the php.ini file: Uncomment the following line (extension=intl)
PHP Localhost, Server is taking too long to respond
When migrating or building databases, the script execution time can surpass that of the allowed values. echo phpinfo(); check max_execution_time, and related. Increase the values
Saving PHP arrays to a database
Quick facts for storing arrays into a database. Whats the harm in storing arrays into a MySql datbase: Its not easy to query Its not straightforward to update the data Why would I store arrays in MySql ? In my...
Restoring a single MYSQL Table
Alot of the time I find myself backing up large database tables. Trying to add those tables into a local environment is not always easy when the database is big. There is an option of exporting and importing single single...
localhost phpmyadmin incorrect format parameter
Whenever I do major updates on a certain website I usually start by mirroring the live website to my local server environment, I start this procedure by downloading the site files and then the database, although its a time consuming...
Checking if a word or phrase exists in a string
Using PHP's strpos to test a URL I need to redirect old URLs that are attached to a domain that has been re-purposed for a new project. These old URLs have become an obstacle in achieving decent search engine ranking....
Forcing htaccess to remove www from your domain name
Htaccess - www to non-www domain name Good SEO practice suggests that one domain be chosen as Google, Bing and other search engines see www.mysite.co.za and mysite.co.za as 2 separate domains. To redirect all requests to the non www version...
PHP Sessions, How do they work
Quick reminder on PHP sessions The thing with sessions is you only code it once or twice and then you start the cycle of re-purposing code to cut down on dev time. This is even more relevant when you development...