Home Account

Tag :: scripts-and-functions

NO-IP client written in PHP

2012-05-17 13:34 dennis iversen

Tags: scripts-and-functions no-ip

Small and simple PHP client for the no-ip.com API for hosting domains on a dynamic IP.


Check url headers in php

2014-01-06 15:57 dennis iversen

Tags: scripts-and-functions

Very simple script to check a URLs headers.


recursive chmod files with php

2012-10-26 13:38 dennis iversen

Tags: scripts-and-functions

Shows how to chmod files recursively with PHP


rename files recursively php

2012-01-31 17:14 dennis iversen

Tags: php scripts-and-functions

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.


parse ini file cached with APC

2011-12-29 14:45 dennis iversen

Tags: php scripts-and-functions apc

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.


Linux init scripts with php

2011-06-18 03:45 dennis iversen

Tags: php scripts-and-functions

Showing how to create startup or init scripts with PHP on a Ubuntu machine. Short and easy to follow howto.


Ubuntu shutdown timer script

2013-04-03 15:22 dennis iversen

Tags: scripts-and-functions cron hello-world

Show how to create a automated shutdown launcher on Ubuntu with gnome, php and a crontab entry.


remove all dirs with selected name

2013-09-12 15:41 dennis iversen

Tags: php scripts-and-functions

How to remove dirs with a special name using PHP and the unix shell.


git auto commit script

2013-03-25 12:53 dennis iversen

Tags: php scripts-and-functions git

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.


redirect php request to secure https host

2011-05-07 21:54 dennis iversen

Tags: php scripts-and-functions

this entry describes how to redirect a request acording to both servername and server port (e.g. 80 = http and 443 = https)


simple event dispatcher php

2011-12-29 17:48 dennis iversen

Tags: php scripts-and-functions

Most simple example of an event dispatcher I can think of. Written in PHP


how to create a screen dump with php on linux

2011-05-26 02:40 dennis iversen

Tags: php scripts-and-functions linux screendumps

Short entry to show how to make screen dump on linux with PHP.


michelf markdown rel = nofollow

2013-12-18 16:38 dennis iversen

Tags: php scripts-and-functions

How to extend the michelf markdown parser to allow attributes to links, like rel="nofollow"