added php files

as requested by Bradley-Plus

Added server side stuff that was used to generate pictures in png and
get arduino code for the printer.