BrunoDeBarros


Member since 01/12/2010

4 snippets

589 profile views

1 Comment(s) Posted

View their favorites

Profile

Achievement

first submission:submitting first snipplet

BrunoDeBarros's Recent Snippets



« Prev 1 Next »
This tiny jQuery plug in forces a user to enter only numeric values on an input field by silently removing non-numeric values as they're entered. (Caution: Never rely on client-side validation; use server-side validation as well)
2 325 posted 10 years ago by BrunoDeBarros
Prints an array (recursive) as PHP code (can be pasted into a php file and it will work). Note: This function can process arrays with integers/strings/sub-arrays. It is impossible to process resources (they have a state), and while it is possible...
1 237 posted 10 years ago by BrunoDeBarros
This will make all errors be shown and logged. Useful for when you want to figure out what's wrong but the production server doesn't display any errors.
1 223 posted 10 years ago by BrunoDeBarros
I wrote this code for when I need to get files from other servers and put them on my own server. I wanted to simplify it as much as possible.
1 468 posted 10 years ago by BrunoDeBarros
« Prev 1 Next »