Welcome To Snipplr


Everyone's Recent Snippets



1 ... 48 49 50 51 52 ... 553
You may use this code to highlight specific words in your displaying search results.
3 1444 posted 12 years ago by apphp-snippets
This code removes all special characters from the given URL and make it SEO friendly.
2 2266 posted 12 years ago by apphp-snippets
These 2 techniques can be used for alternating row-colors in a table.
1 2481 posted 12 years ago by apphp-snippets
The apple business is probable among the most well-known businesses at this moment within the matter from the extremely well best devices. Apple mackintosh produces numerous judgements for cutting-edge together with groundbreaking gizmos. The whole A...
0 1312 posted 12 years ago by jessicabutlerjcm
Con este esquema puedes crear objetos instanciables en Javascript usando jQuery. Su uso es muy simple, sólo debes copiar el siguiente código y cambiar las variables que están en mayúsculas.
0 1118 posted 12 years ago by porquero
This is a more precise version of the native setTimeout(). It uses the same parameters as setTimeout, but adds a third parameter "resolution" which defines how often (in ms) to check for the time that passed. // alert after 5 seconds with an i...
2 1017 posted 12 years ago by McSodbrenner
Easy PHP script for uploading and unpacking zip files to the server much faster Steps to follow: 1. create folder on the webserver called "zipper" or something else 2. copy the following PHP code into a file called "zipper.php" into this folde...
2 5259 posted 12 years ago by jvandemerwe
Simle markup, simple CSS combined with ver straight forward javascript to produce some really cool effects.
0 1181 posted 12 years ago by COBOLdinosaur
Con ese codigo pueden agregar tildes y ñ en los alert o en las funciones de facebook
0 1225 posted 12 years ago by serialk89
Groovy fileToMd5
0 3291 posted 12 years ago by laurenceosx
Sometimes you have some information on your page and your visitors might want to copy it. The easiest way is to provide a mechanism that allows them to simply click a button to do so. You have to paste this code into the head of your web page:
0 2404 posted 12 years ago by apphp-snippets
Allows to perform PHP redirection (must be placed before any browser output).
0 1212 posted 12 years ago by apphp-snippets
This script informs your visitor that a given page may be reached only from the page that you specify. Paste this code before the ending <head> tag on the page:
0 2353 posted 12 years ago by apphp-snippets
This example of code shows how to do a simple POST request in PHP to another web server by using a socket connection.
0 3190 posted 12 years ago by apphp-snippets
how to disable mx ping with emailChecker class
0 2182 posted 12 years ago by jspicher
Two static dictionaries for converting US state names to abbreviations, and the reverse.
0 4096 posted 12 years ago by misholson
**Example of use:** &lt;a href="http://www.php.net/manual/en/index.php"&gt;&lt;img src="&lt;?php echo get_favicon('http://www.php.net/manual/en/index.php') ?&gt;" alt="Favicon" title="See PHP documentation" width="16" height="16" /&gt;&lt;/a&gt;
0 3074 posted 12 years ago by phpdev
close a JFrame window the same way as when the user clicks on the X close window button
0 1662 posted 12 years ago by laurenceosx
0 751 posted 12 years ago by inhji
Helps to find out browser version and type your website visitor is using.
0 2348 posted 12 years ago by apphp-snippets
This code allows to get the IP address from which the user is viewing the current page.
0 2557 posted 12 years ago by apphp-snippets
This is a hook_block_info and hook_block_view template that will allow you to quickly create blocks in a Drupal module. When you use this all you have to do is create a directory "blocks" in the module and then create block.block_name.php in the dire...
0 1317 posted 12 years ago by brownrl
Populate Fields from Post Data Add this to functions.php
0 1237 posted 12 years ago by paddy1228
In modern browsers select options can now be style using most css properties. Of course, IE is still behind but it does support some styling as well. There are a lot more options on the site.
0 2318 posted 12 years ago by COBOLdinosaur
Replaces string 'sth' with 'sth-new' in all files in current directory.
0 1286 posted 12 years ago by ef
This snippets show how to extract the video id of a youtube video from its URL
0 2549 posted 12 years ago by slimITTN
A simple message box created with only one div container with background and border color, some margin and padding for position the text message nicely, I set the width for 500px, you can change it to auto or any fixed value you want.
1 1504 posted 12 years ago by codingforever99
To fix the issue with localhost under Windows 8 giving a 403 error (but working for 127.0.0.1) I did the following:
0 1656 posted 12 years ago by rickygri
A simple way of correcting tests with Java. In this piece of code I just defined two possible models or answers, they're all random, but the only thing needed is to update them with valid answers. The length of the test? I just did it for a 10-questi...
0 1577 posted 12 years ago by eiger824
Script per copiar els fitxers canviats en una revisió git al servidor remot via sftp, using PHP Secure Communications Library (phpseclib): http://sourceforge.net/projects/phpseclib/. Útil per usar amb 1and1.
0 2331 posted 12 years ago by marcniko
1 ... 48 49 50 51 52 ... 553