Welcome To Snipplr
Everyone's Recent 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
1330
posted 14 years ago by stamba
This is a script that simply prints the current month. I produced this a couple years ago and use it as a reference for using the localtime() function.
0
1830
posted 14 years ago by numberwhun
This is a handy little bit that will show you all of the installed modules on the system.
0
843
posted 14 years ago by numberwhun
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
1847
posted 14 years ago by sadus