Welcome To Snipplr


Everyone's Recent Snippets Tagged c



1 ... 445 446 447 448 449 ... 552
1 2062 posted 17 years ago by iTony
6 4947 posted 17 years ago by alli14404
Better way to echo a .current_page_item class on a list nav.
3 2090 posted 17 years ago by davebowker
Put this in settings.php
2 2455 posted 17 years ago by aleprieto
2 2687 posted 17 years ago by iloveitaly
For database inserts must be made some site on "http://redirect_host:port/.../" with nice getip function: http://snipplr.com/view/10946/
0 1910 posted 17 years ago by paramah
1 1731 posted 17 years ago by paramah
2 2283 posted 17 years ago by paramah
Well, not the best one...
1 2049 posted 17 years ago by Sn0opy
Figure 5. Selecting the first-child LI elements that descend from a UL element. By combining the first-child pseudo-class with the adjacent-sibling selector, it's possible to pick children other than the first one. For example, you might want to a...
0 1821 posted 17 years ago by davebowker
Checks for a valid email address using the php-email-address-validation class. Source and docs = URL
0 1918 posted 17 years ago by fruehjahr
2 2102 posted 17 years ago by fruehjahr
Forces a user to download a file, for e.g you have an image but you want the user to download it instead of displaying it in his browser.
0 1949 posted 17 years ago by fruehjahr
Again, as part of the DCODR development I had to find a decent way to get the selection HTML
0 3186 posted 17 years ago by optimal
1 1570 posted 17 years ago by fruehjahr
3 2576 posted 17 years ago by fruehjahr
Developed as part of my DCODR experiments...
0 1795 posted 17 years ago by optimal
0 1582 posted 17 years ago by archlight
1 1792 posted 17 years ago by archlight
I think this is php 5 only
0 1826 posted 17 years ago by jfherring
Based on Jdub7's Pure PHP Template function http://snipplr.com/view/10797/pure-php-template-function/
2 1876 posted 17 years ago by thermosilla
Return just the Apache version number of your server, and operating system, from $_SERVER['SERVER_SOFTWARE'] Example: print ('Apache Version: ' . apacheversion()); will return something along the lines of... "Apache Version: 2.2.10 (Unix...
1 3432 posted 17 years ago by iridium
1 ... 445 446 447 448 449 ... 552