Profile
Achievement
BrunoDeBarros's Recent PHP Snippets
- All /
« Prev 1 Next »
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
663
posted 13 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
545
posted 13 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
7392
posted 13 years ago by BrunoDeBarros