added php, minor formatting tweaks, fixed links