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
Switching from Mcrypt to OpenSSL engine in Kohana application
18 Mar 2021 20:02:19
Article on how to switch encryption engine from Crypt to OpenSSL in Kohana PHP framework.
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.
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
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.
03 Aug 2020 00:39:31
Piping JSON object to PHP script
Article about how to pass data from a shell to a PHP script with a pipe on the command line or directly using PHP system function.
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.
Recent
17 Jan 2017 11:57:41
Essential WordPress plugin hooks
Essential WordPress hooks like init, wp_loaded, admin_init, admin_enqueue_scripts, admin_menu save_post, get_the_excerpt, wp_trim_excerpt and plugin_action_links below. init This hook is available for both frontend and backend. As it fires, some important WordPress ...
15 Jan 2017 16:58:45
Bash recursion examples - part 1
Some recursive functions written in BASH Dealing with misbehaving recursive code in Bash Below is a chunk of code that stops recursive function. Better stop it than be sorry. declare -i recursion_level=1 declare -i exit_recursion_level=120 recursive(){ local -i ...
11 Jan 2017 12:58:48
Env and BASH declare
Environmental variables on a Linux based system like Debian are named strings available to all applications initialized from text console or some graphical interface. These variables are gradually added by various processes as your system starts. Once login shell is invoked ...
03 Jan 2017 13:03:49
Updating WordPress database URLs - part 2
Updating WordPress database URLs, part 2 - a database-wide approach. All tables get scanned and old URLs updated to new ones. Also serialized data is properly dealt with. The script The script is a general purpose filter, it takes INPUTDB, which is name of the database (as ...
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.