PROfile
All time reputation: 34
Achievement
tasmanweb's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
« Prev [Page 1 of 1] Next »
PHP saved by 3 people
kill url injection when using 'PHP_SELF'
posted on March 16, 2013 by tasmanweb
PHP
is_empty() : safely test for an empty string (or mixed variable)
posted on March 16, 2013 by tasmanweb
PHP php function sanitize
stripformslashes: strip extra slashes if magic quotes is on, works with strings or arrays
posted on April 30, 2011 by tasmanweb
PHP php date function
Makes a html year select starting at the current + the next 2 years
posted on April 30, 2011 by tasmanweb
PHP php random function
random alphanumeric text of length $codelength
posted on April 30, 2011 by tasmanweb
PHP php print function echo
printr: print_r replacement that can handle nested arrays and strings
posted on April 28, 2011 by tasmanweb
PHP url php function parser
Extended parse_url: parses a url correctly even with a url as query parameter
posted on April 28, 2011 by tasmanweb
PHP php month time date function
month_length: number of days in the month taking leap-years into account
posted on April 28, 2011 by tasmanweb
PHP php function saved by 1 person
is_int(): accurately test for integer
posted on April 28, 2011 by tasmanweb
PHP php function saved by 1 person
is_odd
posted on April 28, 2011 by tasmanweb
PHP php function saved by 1 person
is_even
posted on April 28, 2011 by tasmanweb