Web Developer Zone
Web Developer Zone is a code first section devoted to tools and techniques used in web development. Thematically, the main focus here is on PHP, Linux, BASH, JavaScript and a little bit of MySQL and Python.
Pick of the week
How to get a single validation rule from model in CodeIgniter 4?
12 Oct 2021 00:05:56
Get a single validation rule from a model in CodeIgniter 4.
Popular
18 Jul 2020 00:39:07
Transforming range of variable to 0 to 1 and custom ranges
Learn how to transform variable's range to [0,1] or a custom range.
20 May 2021 17:49:23
Mapping associative array keys to variables with $$ in PHP
A neat trick to reduce amount of code needed to access data stored in PHP associative array.
27 Jan 2022 12:25:32
Creating URL-safe slugs in CodeIgniter 4
Build URL-secure slugs using URL and Text helper functions in CodeIgniter4
14 Jul 2020 11:08:06
Recursively updating deeply nested arrays in PHP
An article on recursively updating deeply nested arrays using array_walk_recursive and custom nested array traversal function in PHP.
29 Jul 2023 17:05:58
Fixing No input file specified error in CodeIgniter 4
Get rid of No input file specified error in CodeIgniter 4.
15 Jul 2023 16:56:31
Get logged-in user username and groups with Python
Getting username and system groups of logged-in user on a Linux-based operating system.
Recent
24 May 2024 11:51:01
There is no data to update error in CodeIgniter 4
Most of the time updating database table data via update method of a model for it simply works. You do it and you move on to the next thing on your list of problems to solve. However, from time to time you might get "There is no data to update" error while trying to ...
29 Jul 2023 17:05:58
Fixing No input file specified error in CodeIgniter 4
For some time there seems to be confussion regarding how to remove index.php file from URLs a CodeIgniter 4 PHP framework based application receives as its input without breaking functionality the application provides through controllers. Setting value of indexPage to an empty ...
15 Jul 2023 16:56:31
Get logged-in user username and groups with Python
When developing a desktop application for a Linux distribution in Python programming language often it is desirable to know username of a logged-in user and operating system group names the user belongs to. Obtaining these pieces of information requires a bit of knowledge of ...
07 Apr 2023 11:45:35
Error messages in Polish language for CodeIgniter 4 Validation class and use example
Error messages in Polish language for CodeIgniter 4 Validation class and use example have been using CodeIgniter 4 for a lot over the last year. Some stuff I have built with it, like blogs and websites, was for English-only speaking users, but there were also modules for web ...
SWWW
SWWW is my place on the web where I write on stuff related to web development. Main focus here is on my own programs and scripts, but also websites I have developed over years or helped develop, improve or maintain. In the Web Developer Zone I take a closer look at various solutions related to web development and computer programming.
If you find any of my projects interesting, useful or would like to know more on it, do let me know. This website has a contact form. Altenatively, you can leave a comment under an article on the blog.
Need a web developer?
If you need a web developer for web development work drop me a line!
I am based in Wakefield, UK, but always happy to consider remote work opportunities.