PHP Code Snippets

brainyprb

These htaccess rules remove extension from php files while viewing in browser plus user is redirected to non extension URL if s/he tries to open URL with extension.

Read more

collizo4sky

Remove all non printable characters from a string

Read more

David Carr

Post updates to buffer using this library - https://github.com/thewebguy/bufferapp-php details documentation about the api is available from https://buffer.com/developers/api

Read more

David Carr

converts plain text urls into HTML links, second argument will be used as the url label <a href=''>$custom</a>

Read more

David Carr

returns the users IP address.

Read more

David Carr

returns the filename without the extension

Read more

David Carr

returns the file extension

Read more

David Carr

Find the size of a given folder.

Read more

Copyright © 2011 - 2017 created by David Carr Web Developer. All code MIT license. All rights reserved. Built using Simple MVC Framework