Welcome To Snipplr


Everyone's Recent Snippets Tagged c



1 ... 160 161 162 163 164 ... 553
0 1165 posted 14 years ago by psteinweber
0 1105 posted 14 years ago by psteinweber
Command to transfer files between servers using the command line.
0 1746 posted 14 years ago by frigga
1 1181 posted 14 years ago by psteinweber
Pull banner ad or image code from a given text file into an array and randomize the order. Banner/image codes in the file should be separated by tildes (~).
0 1489 posted 14 years ago by bluecap
the link explains how the XML is generated.
1 1469 posted 14 years ago by iroybot
Turns a Zend_Form object into XML data. Click the associated link to see an Example XML result and a XSL Stylesheet used to display regular HMTL.
1 1835 posted 14 years ago by iroybot
A recursive function to permute the items of an array. The function returns an array that contains many arrays, where each array is a permutation of the original array. This process can get intensive depending on how many items are in the initial arr...
0 1385 posted 14 years ago by trusktr
see link
0 1459 posted 14 years ago by rumremix
1 1542 posted 14 years ago by xz
A print_r replacement function that can handle nested arrays and strings. Usage: printr($array);
0 1328 posted 14 years ago by tasmanweb
Parses a url correctly even with a url as query parameter, also retuns dirname, basename and extension besides the other parse_url bits. See comments for more info.
0 1677 posted 14 years ago by tasmanweb
Returns the number of days in the month taking leap-years into account.
0 1562 posted 14 years ago by tasmanweb
A better and more accurate function to see if a value is an integer.
0 1462 posted 14 years ago by tasmanweb
Add code in first line your page.
0 1293 posted 14 years ago by tcelestino
<p>usage: <br> <code>&lt;a href="" onclick="recordOutboundLink(link, category, action, opt_label, opt_value);return false;"&gt; <br> &lt;form id="uniqueID" onsubmit="trackFormSubmit(form, category, action, opt_label, opt_value);return false;"&gt;</...
0 1968 posted 14 years ago by freezy
0 1348 posted 14 years ago by nico65
works in produktdetail magento 1.4.2 & 1.5.0.1
0 1464 posted 14 years ago by nico65
Place this at the top of your php files. This will remove white space and formatting from HTML, making it smaller and faster for download by your users.
0 1463 posted 14 years ago by trusktr
1 ... 160 161 162 163 164 ... 553