Welcome To Snipplr


Everyone's Recent Snippets



1 ... 48 49 50 51 52 ... 554
It removes relations before deleting tables.
0 841 posted 12 years ago by fixpq
You may use this code to highlight specific words in your displaying search results.
3 1069 posted 12 years ago by apphp-snippets
This code removes all special characters from the given URL and make it SEO friendly.
2 1029 posted 12 years ago by apphp-snippets
These 2 techniques can be used for alternating row-colors in a table.
1 1204 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 988 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 866 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 771 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 4332 posted 12 years ago by jvandemerwe
Simle markup, simple CSS combined with ver straight forward javascript to produce some really cool effects.
0 949 posted 12 years ago by COBOLdinosaur
Con ese codigo pueden agregar tildes y ñ en los alert o en las funciones de facebook
0 921 posted 12 years ago by serialk89
Groovy fileToMd5
0 1127 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 1115 posted 12 years ago by apphp-snippets
Allows to perform PHP redirection (must be placed before any browser output).
0 864 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 1059 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 1970 posted 12 years ago by apphp-snippets
how to disable mx ping with emailChecker class
0 948 posted 12 years ago by jspicher
Two static dictionaries for converting US state names to abbreviations, and the reverse.
0 2771 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 1702 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 1294 posted 12 years ago by laurenceosx
0 568 posted 12 years ago by inhji
Helps to find out browser version and type your website visitor is using.
0 1016 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 1254 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 974 posted 12 years ago by brownrl
Populate Fields from Post Data Add this to functions.php
0 909 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 1037 posted 12 years ago by COBOLdinosaur
Replaces string 'sth' with 'sth-new' in all files in current directory.
0 891 posted 12 years ago by ef
This snippets show how to extract the video id of a youtube video from its URL
0 1227 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 989 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 1334 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 1230 posted 12 years ago by eiger824
1 ... 48 49 50 51 52 ... 554