Welcome To Snipplr


Everyone's Recent Snippets



1 ... 311 312 313 314 315 ... 554
0 521 posted 15 years ago by elango
Code is to demonstrate the use of DocumentBuilder to parse the XML file. And retrieve the data from it.
1 1321 posted 15 years ago by PravinChk
0 941 posted 15 years ago by jodm
This will recursively search your directory tree (starting at dir ‘dot’) and chmod 755 all directories only. find . -type d -exec chmod 755 {} \; Similarly, the following will chmod all files only (and ignore the directories): find . -...
1 1116 posted 15 years ago by MikeyLikesIt
Change a user password
0 962 posted 15 years ago by manuelstofer
While these examples convert Markdown fields to HTML for use in CKEditor, the same method can be used to render the filters of any input_format.
0 1479 posted 15 years ago by zachharkey
A modification of Bill James' New Folder context menu script ( http://billsway.com/vbspage/ ), this script instead creates a "New File" item in the right click context menu of Directory Backgrounds. Upon running the New File item, you will be prompte...
0 1381 posted 15 years ago by karlhorky
This is meant to be on a kickapps powered page.
0 1006 posted 15 years ago by linusx
Fixes an issue if you have another login form on the page with a password field.
0 1344 posted 15 years ago by linusx
This script helps you to test session persistence for your HTTP API. Launch this.php?set=valuuue to set the session value stored to value. Launch this.php to retrieve the value.
0 907 posted 15 years ago by asterfr
This function will fetch the real IP address of the user even if he is behind a proxy server.
1 1243 posted 15 years ago by jrobinsonc
Delete a directory including its contents.
0 955 posted 15 years ago by jrobinsonc
Well Here... Newbs Only!
0 859 posted 15 years ago by k9flow
0 1079 posted 15 years ago by putrakopo
An easy was to tunnel remote Couchdb instance into a local machine using ssh tunneling, by using the 5893 local port we enable the local instance to run (replication is only a click away).
0 1300 posted 15 years ago by narkisr
Apply an inline-block to all browsers, including IE6 and IE7.
0 995 posted 15 years ago by Meander365
This function takes an array and a key that is unwanted. It will recurse through and unset the key in the argument array and all its sub-arrays.
0 964 posted 15 years ago by thesmart
Returns window size as object. winsize.x = window width; winsize.y = window height;
1 1264 posted 15 years ago by djstaz0ne
PHP AdSense account monitor class, can retrieve data from your AdSense account (impressions, clicks, ctr, ecpm, earnings). This class can retrieve (for now) only “AdSense for Content” data, for different periods of time (see class methods for mo...
0 826 posted 15 years ago by RM
You must use Google friendly domain redirect in these cases: You changed a domain name for your web page and want the old one to redirect visitors to a new one. You have many domains for your website (one primary and many alternative). You want to...
1 974 posted 15 years ago by RM
1 982 posted 15 years ago by tvanzele
1 ... 311 312 313 314 315 ... 554