Welcome To Snipplr
Everyone's Recent Snippets Tagged c
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
If you have these files:
old-file.php
file-old.php
file-old-file.php
license.txt
and you apply the snippet then you'll have these files:
new-file.php
file-new.php
file-new-file.php
license.txt
;-)
0
1725
posted 16 years ago by vigoncas
Based on the following references:
http://not-equal.blogspot.com/2006/08/upload-file-as3-php.html
http://www.thedanosphere.com/?p=76
I created a simple file manager class that I will be extending in the near future for an AIR App I...
0
2169
posted 16 years ago by alvincrespo
This function calls pingomatic rpc service to increase traffic to your site. More info and instructions on [Barattalo blog](http://www.barattalo.it/2010/02/24/ping-pingomatic-com-services-with-php/ "read this post").
.
1
2825
posted 16 years ago by ginoplusio
This implements a pure CSS technique for creating triangles. A great practical usage of this is Web 2.0 style comment/speach bubbles. Demo: http://www.adamcoulombe.info/lab/css/comment-bubbles.html
1
2175
posted 16 years ago by adamcoulombe
Need to download the ActionScript 3.0 library http://code.google.com/p/as3corelib/ and extract the "com" folder into the same folder as your .fla file.
1
2145
posted 16 years ago by eddequincey
If body has lang="fr" then add a special class.
We can't use the CSS pseudo selector :lang(fr) because there is currently no support in Safari.
0
1455
posted 16 years ago by matthalliday
Here is the code I used to show all of the posts for a particular category...
0
2126
posted 16 years ago by bdnnikki
These are essential javascript techniques every javascriptr must know. I will be adding more to this list, let me know what you'd like to see. Thanks!
0
1641
posted 16 years ago by alvincrespo
/**
* @param Int $week
* @param Int $year
* @return Array
*/
0
1442
posted 16 years ago by jkjeldgaard
These are important object oriented principles (OOP) that one must understand in PHP to create dynamic web applications. I hope you find this useful in understanding inheritance.
0
1577
posted 16 years ago by alvincrespo
After a problem with row break in a text field I found this way of searching within a where clause in an SQL query. Can be used for selection or update / replace purposes of course.
0
2707
posted 16 years ago by davidrinnan
This is a dynamic label generator for a project I'm working on. (Source files coming soon)
0
1734
posted 16 years ago by alvincrespo
Before taking a site "live", I password protect it except the robots.txt for search engines and custom Error pages. You can adapt this to your own use and add other pages in the FilesMatch directive.
0
1777
posted 16 years ago by abbey