Adding php sample code.