Welcome To Snipplr


Everyone's Recent Snippets



1 ... 48 49 50 51 52 ... 554
It removes relations before deleting tables.
0 952 posted 12 years ago by fixpq
You may use this code to highlight specific words in your displaying search results.
3 1190 posted 12 years ago by apphp-snippets
This code removes all special characters from the given URL and make it SEO friendly.
2 1134 posted 12 years ago by apphp-snippets
These 2 techniques can be used for alternating row-colors in a table.
1 1320 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 1100 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 964 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 867 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 4556 posted 12 years ago by jvandemerwe
Simle markup, simple CSS combined with ver straight forward javascript to produce some really cool effects.
0 1060 posted 12 years ago by COBOLdinosaur
Con ese codigo pueden agregar tildes y ñ en los alert o en las funciones de facebook
0 1020 posted 12 years ago by serialk89
Groovy fileToMd5
0 1241 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 1250 posted 12 years ago by apphp-snippets
Allows to perform PHP redirection (must be placed before any browser output).
0 995 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 1163 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 2075 posted 12 years ago by apphp-snippets
how to disable mx ping with emailChecker class
0 1088 posted 12 years ago by jspicher
Two static dictionaries for converting US state names to abbreviations, and the reverse.
0 2918 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 1844 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 1424 posted 12 years ago by laurenceosx
0 648 posted 12 years ago by inhji
Helps to find out browser version and type your website visitor is using.
0 1148 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 1388 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 1104 posted 12 years ago by brownrl
Populate Fields from Post Data Add this to functions.php
0 1023 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 1157 posted 12 years ago by COBOLdinosaur
Replaces string 'sth' with 'sth-new' in all files in current directory.
0 1005 posted 12 years ago by ef
This snippets show how to extract the video id of a youtube video from its URL
0 1338 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 1113 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 1469 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 1385 posted 12 years ago by eiger824
1 ... 48 49 50 51 52 ... 554