some php snippets