Welcome To Snipplr


Everyone's Recent PHP Snippets Tagged c



1 ... 73 74 75 76 77 ... 147
Code in functions.php einfügen
0 1621 posted 16 years ago by PM-Webdesign
Code in functions.php einfügen
0 1584 posted 16 years ago by PM-Webdesign
Code in functions.php einfügen
0 1770 posted 16 years ago by PM-Webdesign
Code in functions.php einfügen
0 1551 posted 16 years ago by PM-Webdesign
Code in die functions.php einfügen
0 1745 posted 16 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 2181 posted 16 years ago by stz184
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 2544 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 2112 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
0 1430 posted 16 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 2520 posted 16 years ago by f6design
Self Explanatory
0 2438 posted 16 years ago by vagrantradio
Prints out the contents of a directory.
0 2004 posted 16 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 2279 posted 16 years ago by villagecreative
Return a list of all store Categories
0 1998 posted 16 years ago by TioSolid
This is a simple 'text to array for output' script that I've used a few times for my clients. Hope you like!
0 2215 posted 16 years ago by chicagowebmanagement
Limpiar y acortar la url a un enlace que apunta a Youtube
1 1859 posted 16 years ago by chuisxa
0 2177 posted 16 years ago by GuillaumeP
This problem occurs when there is a duplicated name for the first level item (optgroup) and a second level item (option). The rendered select will not contain the mentioned option unless you do the following...
0 2565 posted 16 years ago by sveggiani
Change $dir to image folder
1 2059 posted 16 years ago by bjarniolsen
run mysql query direct on your magento script
0 1766 posted 16 years ago by aashvi
First, create an image that fits the allocated space. As of WordPress 2.8, the logo is a 30 pixels wide and 31 pixels tall transparent GIF. When using a transparent GIF or 8-bit PNG, ensure that the image matte matches the header background color: he...
3 3278 posted 16 years ago by lromak
0 2000 posted 16 years ago by metoikos
1 1726 posted 16 years ago by pictura4
Appends a custom more-link to all excerpts, regardless of whether they're auto-generated or pulling manual excerpts from the excerpt field. Note: Automatic excerpts still show the default […] at the end (before the more-link). Found here: http:/...
1 1915 posted 16 years ago by hussong
0 2131 posted 16 years ago by tuffo19
1 ... 73 74 75 76 77 ... 147