kirik


Member since 08/06/2009

Name: Cyrus Hirvi

Location: Canada

Website: http://a5web.com/

I wanted to be a porn actor.. But this idea failed, and now I'm a programmer.

6 snippets

1994 profile views

5 Comment(s) Posted

View their favorites

Profile

Achievement

first submission:submitting first snipplet

kirik's Recent PHP Snippets



« Prev 1 Next »
This function works correct with files with no extension.
0 612 posted 14 years ago by kirik
Easy check (: **UPD** You can just use [version_compare()](http://ca.php.net/manual/en/function.version-compare.php) function.
1 635 posted 14 years ago by kirik
This function converts file size in bytes to the larger units. You can add bigger values like exa-, zetta-, yotta- bytes.
0 588 posted 14 years ago by kirik
This function is very helpfull when you need to put some data (that was gotten from database) to HTML table. You can choose vertical or horizontal types. **Horizontal type:** | 1 | 2 | 3 | | 4 | 5 | 6 | | 7 | 8 | 9 | **Vertical type:**...
1 1046 posted 14 years ago by kirik
Just a function for correct redirecting *UPD1* header added for Google Chrome
0 481 posted 14 years ago by kirik
Function for sanitize input POST, GET, COOKIE arrays.
2 641 posted 14 years ago by kirik
« Prev 1 Next »