Welcome To Snipplr
Everyone's Recent Snippets Tagged c
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
This snippets leaves out all other files like .png, .jpg, and everything else that appears in a normal music library (artwork, images, etc. ...) and only calculates the size of music (.mp3) files
0
1831
posted 16 years ago by limepix
Parameters:\r\n- $to - email address to send the mail\r\n- $subject - subject\r\n- $message - message body (HTML allowed)\r\n- $from_name - sender\'s name\r\n- $from_email - sender\'s email\r\n- $reply_to_name = custom, different from $from_name name...
0
2545
posted 16 years ago by stz184
This function can be used to sanitize single string variable or massive like POST, GET, COOKIE. It performs magic quotes gpc check, strip tags, trim and escape the dangerous signs with mysql_real_escape_string.
0
2113
posted 16 years ago by stz184
This function build page navigation links.\r\nParameters legend:\r\n- $items = total number of rows to be paginated\r\n- $perpage = how many rows to be displayed on a page\r\n- $maxlinks - how much page links to be build and shown for navigation ( <...
0
1704
posted 16 years ago by stz184
To use just edit the Twitter user ID which appears at the bottom of the snippet. You may want to change the location where the tweets are cached, by default they are stored at the root level of your domain. The reason for caching is that Twitter limi...
0
2520
posted 16 years ago by f6design
This is a way to have a navigation menu with active classes which are set according to what page is loaded. This only works on .php pages.
0
2280
posted 16 years ago by villagecreative
Redirects to specified page ignoring specified ip address and folders.
0
2194
posted 16 years ago by vagrantradio
To sort varchar fields which contain numeric data & returning XML
0
1609
posted 16 years ago by aunlead
This is a simple 'text to array for output' script that I've used a few times for my clients. Hope you like!
0
2217
posted 16 years ago by chicagowebmanagement
Was using this to disable certain js functionality as it wasnt working on apple\'s webkit
2
2372
posted 16 years ago by thiswayup
I know there are other solutions and sites out there that provide code to perform this simple animation but I like the way I laid out the code. The principal behind this code is it will toggle a show or hide event and change your plus or minus image...
1
1979
posted 16 years ago by mattvbiggs