Welcome To Snipplr


Everyone's Recent Snippets



1 ... 49 50 51 52 53 ... 553
Safe way to recursive delete directory
0 3936 posted 13 years ago by alces
Check the email validity with filter_var and checkdns
1 2658 posted 13 years ago by NaetoH
In scripts.js
0 2233 posted 13 years ago by wanlapat
Checks if two given arrays equal each other as php doesn't have a built in function for this.
0 2423 posted 13 years ago by MaxHudson
This will reset the tabindex of all input fields on a form after page load
0 1982 posted 13 years ago by bitsculptor
CSS Big Glowing Txt
0 2156 posted 13 years ago by erikgeerling
This is the second and last part of the encryption algorithm that I uploaded last week. It's the other-way-round program: it decrypts a password typed by user.
0 1770 posted 13 years ago by eiger824
Try to run Codeigniter in a subfolder of a Wordpress installation and want to remove index.php for clean URLs? Put this code in a .htaccess file in your codeigniter directory ("cidir" in this example).
0 5051 posted 13 years ago by telltec
The following code allows only numeric characters to be entered.
1 2485 posted 13 years ago by jprochazka
It removes all standard C-style comments(/* 1-n */) and all single line comments("//"). Greedy matching.
0 3722 posted 13 years ago by XtreamIT
stripped down css sheet
0 1352 posted 13 years ago by thesmu
allows itmings to be set for colour transitions if this is put into mouseover/ hover block.
1 1333 posted 13 years ago by Dugzor
Host file location on XP
0 3518 posted 13 years ago by thesmu
This will remove the items in a select box/list box that have been selected.
0 1498 posted 13 years ago by j100
If you are using the [TimThumb](http://code.google.com/p/timthumb/ "TimThumb on Google Code") script with a URL the contains tildes (~) and images are breaking, here is the fix... I did not create this snippet but found it extremely useful so I th...
0 2008 posted 13 years ago by tacudtap
Le fonction COALESCE de MySQL permet de renvoyer une valeur par défaut si la valeur null est renvoyée initialement.
0 3832 posted 13 years ago by pruntrut
For some reason tidy inserts new lines before/after <![CDATA[ content in XML files. Since I like the benefits of a reformatted, readable XML... ... i run tidy first, then remove the spaces before/after the CDATA block:
0 2803 posted 13 years ago by iroybot
Handy code snippet for keeping track of the number of characters a user is entering into a textbox or textarea. It will dynamically update the count as the user is typing. This also works with copy & paste. The top snippet will automatically calcu...
2 1540 posted 13 years ago by mattvbiggs
0 1467 posted 13 years ago by Alee
removes scrollbars and expand to content height.
0 1498 posted 13 years ago by bonalepo
A C++ algorithm which encrypts an alphanumeric password, asking the user to choose the encryption level.
0 6982 posted 13 years ago by eiger824
To keep up on important incidents on your site without having to dig through server logs the alternative can be custom logs.
0 2463 posted 13 years ago by COBOLdinosaur
When box sizing is set, the padding, border and margin no longer add onto the total width or height of the element. Instead, they eat into the set width or height. So, if you have a box whose width is set to 300px, and padding set to 10px, then the t...
1 2721 posted 13 years ago by bmayzure
Cross-browser roll link effect in CSS3. Works in IE 10+, Webkit (Chrome/Safari/etc), Opera, Gecko (Firefox/Seamonkey/etc). Degrades nicely for unsupported browsers.
0 2487 posted 13 years ago by bmayzure
A simple CSS3 link-color transition effect. Fades from the base color to the active/focus color and back on rollover. A nice little added effect that's pretty well cross browser. Works with Webkit (Chrome/Safari/etc), Opera, Gecko (Firefox/Seamonkey/...
1 2649 posted 13 years ago by bmayzure
Use Z-Index to make navigation layer ABOVE other elements.
1 2616 posted 13 years ago by xcsteve99
**Example of use:** $bIsConnected = check_internet_connection(); $sText = ($bIsConnected) ? 'You are connected to the Internet.' : 'You are not connected to the Internet.'; echo $sText;
0 2763 posted 13 years ago by phpdev
ต้องมีอย่างน้อย 8 ตัวอักษร ต้องมีตัวอักษรอังกฤษตัวเล็ก [a-z] และตัวใหญ่[A-Z] อย่างน้อยอย่างล่ะ...
0 2547 posted 13 years ago by gaserland
Code to verify is PDO extension is installed.
0 2748 posted 13 years ago by avenirer
1 ... 49 50 51 52 53 ... 553