Adding Mrinal's code for the PHP part of the workshop