adding project 8 PHP code