sample phpcode