Welcome To Snipplr


Everyone's Recent Snippets Tagged c



1 ... 248 249 250 251 252 ... 553
Code in functions.php einfügen
0 1261 posted 15 years ago by PM-Webdesign
Code in functions.php einfügen
0 1077 posted 15 years ago by PM-Webdesign
Code in die functions.php einfügen
0 1246 posted 15 years ago by PM-Webdesign
If the optional parameter $crop is set to TRUE the image will be zoomed and cropped to specific size ($new_size). Else, the image will be resized to size, keeping aspect ratio and using $new_size as max size.
0 1510 posted 15 years ago by stz184
1 1000 posted 15 years ago by ponjoh
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 1345 posted 15 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 1901 posted 15 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 1512 posted 15 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 1214 posted 15 years ago by stz184
0 979 posted 15 years ago by iusik
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 1908 posted 15 years ago by f6design
Self Explanatory
0 1721 posted 15 years ago by vagrantradio
Prints out the contents of a directory.
0 1392 posted 15 years ago by vagrantradio
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 1733 posted 15 years ago by villagecreative
Redirects to specified page ignoring specified ip address and folders.
0 1638 posted 15 years ago by vagrantradio
Return a list of all store Categories
0 1497 posted 15 years ago by TioSolid
Snippet used for the following blog post:
0 1176 posted 15 years ago by goatboy91587
To sort varchar fields which contain numeric data & returning XML
0 1117 posted 15 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 1649 posted 15 years ago by chicagowebmanagement
Was using this to disable certain js functionality as it wasnt working on apple\'s webkit
2 1738 posted 15 years ago by thiswayup
3 1761 posted 15 years ago by jamiebrwr
1 1135 posted 15 years ago by kennonb
simple way to make an orbiting effect in flash with as3
0 1267 posted 15 years ago by adamcoulombe
1 ... 248 249 250 251 252 ... 553