Welcome To Snipplr


Everyone's Recent PHP Snippets



1 ... 6 7 8 9 10 ... 152
Simple loop for adding header and footer avery n times in loop. Useful for printing tables.
0 376 posted 7 years ago by fedek6
Additional option for Wordpress post (year in this case). You can get it's content in template file by: `<?php>ID, 'year', true ); ?>`
1 296 posted 7 years ago by fedek6
Get a set of effective product management actions, like assigning categories and updating prices in bulk, etc. Stop spending a lot of time on product management.
0 366 posted 7 years ago by Amasty
Improved Layered Navigation by Amasty is a premium 5-year-old Magento extension, to which you can entrust your navigation. It includes 7 mods: Seo layered navigation Shop by brands Ajax Layered Navigation Layered navigation filt...
0 398 posted 7 years ago by Amasty
Amasty developed AJAX Scroll extension to make catalog navigation much faster and easier.
0 441 posted 7 years ago by Amasty
Aspose.PDF for Cloud API has released PHP SDK which allows PHP developers to convert PDF files uploaded to a remote server to other formats. You can pass URL and format parameters to specify the PDF’s URL and output format and use the PUT method of...
0 937 posted 7 years ago by johansonkatherine
This is template for adding custom settings in Wordpress (using settings API).
1 356 posted 7 years ago by fedek6
Format a mysql datetime into a PHP date
0 437 posted 7 years ago by flatearthcomms
Get google pagerank of websites
0 356 posted 7 years ago by melisayves
This batch script writes a temporary .vbs file which will invoke a UAC prompt to open an administrator command prompt. This makes it easy to create a shortcut to an admin prompt.
0 378 posted 7 years ago by deanhouseholder
Take an associative array of options and their default settings. Remove entries of options that do not exist in the default options. Return a safely filtered and overridden array of options.
0 332 posted 7 years ago by wyattstorch42
php
0 450 posted 7 years ago by manishwebginger
#Wordpress Debug Info ##Find out basic information about your WordPress installation and server environment
2 271 posted 7 years ago by gregdbarnes
add to functions.php
1 298 posted 7 years ago by gabbo
Prints all $_Server variables to table
0 403 posted 7 years ago by kidmizere
Text for functions.php
1 349 posted 7 years ago by gabbo
Mail merge allows you to produce document (potentially large numbers of documents) from a single template and a structured data source. The letter may be sent out to many recipients with small changes, such as a change of address or a change in the g...
0 522 posted 7 years ago by johansonkatherine
This example shows you how to remove file extension from URLs using .htaccess file directives. Remember, that "mod_rewrite" works only on Apache server. Before trying please be sure that you are working on Apache server and the "mod_rewrite" module/e...
0 425 posted 7 years ago by apphp-snippets
We know that normally index.html or index.php is the default page for many servers, when visitor types a directory without specifying a file name. You can change this rule with .htaccess:
0 419 posted 7 years ago by apphp-snippets
This uses the timthumb script saved as sized.php in the theme directory
1 367 posted 7 years ago by bitsculptor
This script is a custom module to copy one field to another.
0 456 posted 7 years ago by DesignGoggles
This code demonstrates a simple way to validate IP address using preg_match() PHP function. This is a very simple code, that allows you to perform this task quickly with a minimum lines of code.
0 438 posted 7 years ago by apphp-snippets
This code demonstrates how to create and parse the JSON data format of using array of PHP. It's a very simple code, that allows you to perform this task.
0 478 posted 7 years ago by apphp-snippets
In this post you will learn how to log errors in database in cakephp.
0 390 posted 7 years ago by kp32
Button that onclick with scroll to top of the page
0 350 posted 8 years ago by tucq88
This shortcode was tested with The Events Calendar version 3.3.1 Usage: [upcoming_events limit="6"]
0 351 posted 8 years ago by crypticsoft
http://bueltge.de/wordpress-feeds-deaktivieren/794/
1 411 posted 8 years ago by gabbo
[ Yii Framework ] Use this to redirect to previous page or last request URL
0 373 posted 8 years ago by tucq88
used ceil instead floor
0 357 posted 8 years ago by Balamir
The give link helps you to integrate the Amazon Simple Pay IPN to your web application.
0 316 posted 8 years ago by mafhh14
1 ... 6 7 8 9 10 ... 152