Php Sample code