Welcome To Snipplr
Everyone's Recent PHP Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
This script parses the entered text and it gets all URLs from the text. It will then shorten those URLs and replace the long URLs with shortened ones in the text.
If you need only the Shortener Services script, take a look at this snippet <a href="h...
1
803
posted 13 years ago by stamba
I'm originally a sys admin and i love "tail - f /var/log/*" ... so i created a similar function in PHP that will allow me to view in real time what classes/functions/files/lines of my code is being run...
The usage is really simple, just set a glo...
1
1175
posted 13 years ago by sadus
This code will retrieve the url of a featured image in order to use it as a background.
0
562
posted 13 years ago by jli
nice post, would do it a bit differently but using it currently as-is.
0
565
posted 13 years ago by dmistriotis
Simply replace 'Page Title' with your desired page title to automatically create the page when your theme is activated. Thanks to MattStrange for the original concept.
1
529
posted 13 years ago by fjarrett
Drop the Zend Framework Library folder into your Vendors folder
0
560
posted 13 years ago by shahways