tasmanweb


Member since 04/27/2011

7 snippets

View their favorites

their Tags


Profile

All time reputation: 37

Achievement

first submission:submitting first snipplet

tasmanweb's Recent PHP SnippetsTagged php



« Prev 1 Next »
  1. FAV stripformslashes: strip extra slashes if magic quotes is on, works with strings or arrays

    PHP
    posted 8 years ago tasmanweb
  2. FAV Makes a html year select starting at the current + the next 2 years

    PHP
    posted 8 years ago tasmanweb
  3. FAV random alphanumeric text of length $codelength

    PHP
    posted 8 years ago tasmanweb
  4. FAV printr: print_r replacement that can handle nested arrays and strings

    A print_r replacement function that can handle nested arrays and strings. Usage: printr($array);
    PHP
    posted 8 years ago tasmanweb
  5. FAV Extended parse_url: parses a url correctly even with a url as query parameter

    Parses a url correctly even with a url as query parameter, also retuns dirname, basename and extension besides the other parse_url bits. See comments for more info.
    PHP
    posted 8 years ago tasmanweb
  6. FAV month_length: number of days in the month taking leap-years into account

    Returns the number of days in the month taking leap-years into account.
    PHP
    posted 8 years ago tasmanweb
  7. FAV is_int(): accurately test for integer

    A better and more accurate function to see if a value is an integer.
    PHP
    posted 8 years ago tasmanweb
« Prev 1 Next »