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
1714
posted 15 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
3177
posted 15 years ago by sadus
This code will retrieve the url of a featured image in order to use it as a background.
0
1244
posted 15 years ago by jli
nice post, would do it a bit differently but using it currently as-is.
0
1304
posted 15 years ago by dmistriotis