Welcome To Snipplr


You searched for: http

Everyone's Recent PHP Snippets



Twitter Clone v2.2.1 is the best available PHP clone of Twitter available online. Like our other products it is also extremely robust, user-friendly and very secured. Please visit http://itechscripts.com for this script and other FREE downloads.
0 1152 posted 12 years ago by iTechScripts
Adds a method to the jQuery Validation plugin (http://bassistance.de/jquery-plugins/jquery-plugin-validation/) to return false if the field equals a specified string
0 2084 posted 12 years ago by StevenW721
http://www.binarymoon.co.uk/2009/10/timthumb-wordpress-mu/
0 894 posted 12 years ago by rabc
Straatnamen en huisnummer splitsen, hieronder diverse types straatnamen Bron: http://www.pfz.nl/archief/965267-adres-splitsen-in-straatnaam-en-huisnr/
0 1302 posted 12 years ago by MGHollander
HTTP headers to disable caching.
1 1147 posted 12 years ago by ryantxr
For more parameters: http://codex.wordpress.org/Class_Reference/WP_Query#Parameters
0 775 posted 12 years ago by thescottlee
Capture Web Screenshots easily with the [GrabzIt ](http://grabz.it/) PHP API You will need the free [GrabzIt Code Library](http://grabz.it/api/php/download.aspx) to get started.
2 977 posted 13 years ago by Maximus1983
This is the list of [supported timzones](http://php.net/manual/timezones.php) that can be used with the [PHP5 DateTime](http://php.net/manual/class.datetime.php) class, grouped by geographical continent (rather than PHP's America/..., Asia/... etc id...
0 1063 posted 13 years ago by ch1902
Displays latest posts by current author (place it within the loop). Adapted from code from [here](http://www.wpbeginner.com/wp-tutorials/how-to-display-related-posts-by-same-author-in-wordpress/) and a tutorial [here](http://www.makeuseof.com/tag/how...
0 1122 posted 13 years ago by certainlyakey
Thank you Jonathan Sampson for posting this on http://stackoverflow.com/questions/2050789/php-search-a-string-for-a-email-address
0 1559 posted 13 years ago by focal55
interesting app: http://codecanyon.net/item/socialcounter-php-class-social-statistics/282826
0 899 posted 13 years ago by czachor
Navigating the DOM in jQuery is incredibly simple and thats to phpQuery you can do the same in php. Below are some examples of how it's used, the key change bing that instead of $() you use pq(), and instead of a . you used ->. Theres alot more detai...
0 1218 posted 13 years ago by FatFolderDesigner
Do not allow public to see your dir structure just pleae this code in .htacces Futther reading There are two ways to approach this. The best way to do this is via your .htaccess or httpd.conf file (if you have your own Apache server). If your h...
0 1019 posted 13 years ago by webtechdev
This 'Check if HTTPS is on in PHP' script accounts for servers which set HTTPS differently. Some servers do not set HTTPS, others set it to 'off', etc. Only checking if HTTPS is on will cause an 'undefined index error' in these cases.
0 1189 posted 13 years ago by kf0l
Another source: http://wpswitch.com/blog/wordpress/an-introduction-to-wordpress-custom-fields/
0 965 posted 13 years ago by morg7801
This code is applied from http://www.ultramegatech.com/blog/2009/06/snippet-converting-seconds-to-readable-time/
0 924 posted 13 years ago by zierocode
Check if URL is HTTPS
2 2546 posted 13 years ago by the_construct
This will get the 11-character YouTube video ID from any valid YouTube URL. Based on http://snipplr.com/view/57065/get-youtube-video-id/ but made more robust to handle additional URL inputs
0 1750 posted 13 years ago by jmiller
This is the Batch API example shown on http://api.drupal.org/api/drupal/developer--hooks--install.php/function/hook_update_N/6.
1 943 posted 13 years ago by wizonesolutions
Simple script utilising the `gpg_encrypt.php` code (`http://business-php.com/opensource/gpg_encrypt/`) that will encrypt both the body and attachment of an email on upload.
0 1352 posted 13 years ago by davo
Courtesy CSSTricks (http://css-tricks.com/snippets/wordpress/turn-on-more-buttons-in-the-wordpress-visual-editor/)
1 1084 posted 13 years ago by adambundy
UPDATE: might be easier or faster to use this now (also courtesy Pippin): http://pippinsplugins.com/get-all-attached-media/ **courtesy Pippin Williamson (http://pippinsplugins.com/image-gallery-short-code-using-post-attachments/) use shortcode...
1 1132 posted 13 years ago by adambundy
Save this as plugin.nextlink.php to your ndxz-studio/site/plugin folder. Call the Plugin where you need it: <plug:nextlink /> Original by "gd" http://www.indexhibit.org/forum/thread/7879/
0 867 posted 13 years ago by G470
Adding custom fields to the quick edit panel in Wordpress is easy using built-in hooks. However, the hook to add fields seems to be called multiple times, adding duplicate fields to the quick edit panel. Adding this code to the top of the function be...
0 1019 posted 13 years ago by briteweb
If not have access to edit json, setting url possible is: url: 'http://graph.facebook.com/4/?callback=getDatosUsuario'
0 1031 posted 13 years ago by nicolaspar
Heavily based on "Recursive chmod in PHP" by Tenzer ( 03/10/08 http://snipplr.com/view/5350/ )
0 876 posted 13 years ago by madc
This is a little PHP class that permits to start quickly the creation of a webpage. When you declare an instance of the class it automatically starts the output buffering and gzip compression, it outputs all the proper tags (doctype, meta, stylesh...
0 835 posted 13 years ago by claudiowebdesign
It uses a variable with a RecordSet. db_query PHP Functions can be used to have the REcordSet(http://snipplr.com/view/59419/php-connexion-to-mysql-ddbb-sql-query-and-creation-of-a-record-set/). Then fill the tables with the data of the RecordSet.
0 951 posted 13 years ago by alberomo
It uses a variable with a RecordSet from a ADOdb Library (Library must be downloaded). db_query PHP Functions can be used to have the REcordSet(http://snipplr.com/view/59379/dbquery-php-function-for-ddbb-queries-with-adodb-library/) Then uses ADOD...
0 903 posted 13 years ago by alberomo
Check and Set Default HTTP GET (Verifica e define padrão para parametro HTTP GET)
0 918 posted 13 years ago by cdohost