PHP Snippets

Search PHP Function

This snippet will search the php function list from php.net and return the information about the specific function.

See Ip

Let the users see their own IP address, useful for other things.

Server Information

Show information about your server PHP configuration.

Strip HTML Tags

Strip all HTML tags from a string of text. This would be useful for user submitted form.

Strip HTML Tags

Strips HTML tags using PHP's strip tag function. Useful for various security issue.

viewfiles()

Echo all files from the specific directory.