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
Dissecting e-mail spamming hack based on PHP CGI
24 Jul 2020 18:27:44
Article about how vulnerable PHP CGI setups can become a source of e-mail spam.
Popular
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.
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.
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.
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
07 Apr 2022 00:55:48
MongoDB mongod server fails to start after installation and solution
MongoDB server not starting after installation due to missing dependencies and how to solve this problem.
Recent
12 Oct 2021 00:05:56
How to get a single validation rule from model in CodeIgniter 4?
Here is a little bit on how to get a single validation rule from a model in CodeIgniter 4. Why would you want to do a thing like this? Well, sometimes you want to validate only a single piece of input data, like for example a customer order code. In Codeigniter 4 validation ...
06 Oct 2021 23:09:12
How to load module helper in CodeIgniter 4?
A few words on how to load a custom helper function defined in a Codeigniter 4 module. Suppose you have a bunch of modules living in modules directory of your Codeigniter 4 project. The modules directory is registered in App/Config/Autoload.php using $psr4 property as follows: ...
20 May 2021 17:49:23
Mapping associative array keys to variables with $$ in PHP
Have you ever tried to map an associative array to variables in such a way, that each newly initialized variable has a name which corresponds to a key in the array and is assigned a value which is found under the key in the array? If you can map array keys and values to ...
18 Mar 2021 20:02:19
Switching from Mcrypt to OpenSSL engine in Kohana application
Is there anyone who still develops with Kohana these days? I do not thinks so ... Hold on a second! I'm one of those dinosaurs! Actually, to be more strict on this, I'm maintaining a few web applications, that have been written using this, once having very good ...
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.