some important php codes