Profile
Achievement
kirik's Recent PHP Snippets
- All /
« Prev 1 Next »
Easy check (:
**UPD**
You can just use [version_compare()](http://ca.php.net/manual/en/function.version-compare.php) function.
1
650
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
597
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
1062
posted 14 years ago by kirik
Just a function for correct redirecting
*UPD1* header added for Google Chrome
0
487
posted 14 years ago by kirik