Fixing APC upload bug when no file is given in upload field. Complies to PHP 5.3.5-1ubuntu7.7 on Ubuntu 11.04
This short piece of PHP code generates valid AUTH PLAIN for smtp servers, at least Postfix. Can be used when testing smtp with telnet.
a verfy simple github API for PHP with example.
How to escape like queries with PHP and MySQL
Simple script to delete a remote git tag. When a programmer does a thing more than three times, he should make a small program.
Preventing fatal PHP error Cannot redeclare class Validate when importing classes without a namespace into a namespace.
Fix errors when running php composer on babun.
Using inline and anonymous functions with PHP. Some tests and thoughts about function scope.
A couple of function to use in order to rename a directory recursively. Needed it at my work and could not find anything that worked the way I excepted.
This is short howto which describes how to cache php ini files with APC by default. Ini files are not cached by APC by default.
A very simple implementation of the PRG pattern with PHP using sessions alone.
How to search for AFC sub fields. Mostly about the date picker field or datetime.
Showing how to create startup or init scripts with PHP on a Ubuntu machine. Short and easy to follow howto.
How to remove dirs with a special name using PHP and the unix shell.
Howto create a very large text file with PHP
Use PHPs built-in server to serve from local IP - or inet addr. In order to use or test from other devices on the same network.
Simple script to perform the steps involved in adding, committing and pushing to a remote git repo. It rewrites the https URL to ssh URL in the process.
How to Parse a PDO string into an array
this entry describes how to redirect a request acording to both servername and server port (e.g. 80 = http and 443 = https)
Blog entry showing how to make a very simple CSS compiler with PHP and CSS, without much effort.
Most simple example of an event dispatcher I can think of. Written in PHP
Short entry to show how to make screen dump on linux with PHP.
PHP built-in server. How to route static content when it clashes with content served from routes and database.
I had a few problems building the php5-solr extension with the regular pecl command on my Ubuntu 10.04 box, so this will show you how it is done. I guess it will work with other versions of ubuntu as well.
How to extend the michelf markdown parser to allow attributes to links, like rel="nofollow"
How to create a docker image using the built-in php server. The php version being used is php-8.1.