First upload

Generic functions that help write PHP apps from scratch