kossmoss


Member since 06/10/2008

Name: Koss Petroff

kossmoss

Location: Russia

Website: http://www.idealweb.ru

Web programmer from Russia

My professional interests are: PHP-based CMS and frameworks, modern Web 2.0 technologies and services, OpenSource and many more :)

My programmer\'s blog.

My funny videos collection. It written for Russian, but most of videos are quite clear to everyone :)

13 snippets

582 profile views

0 Comment(s) Posted

View their favorites

Profile

Achievement

first submission:submitting first snipplet

kossmoss's Recent Snippets



« Prev 1 Next »
change KEY to key code you get at error message
0 132 posted 9 years ago by kossmoss
1st shows only files and directories bigger than 1 Megabyte 2nd shows only files and directories bigger than 100 Megabyte
0 90 posted 10 years ago by kossmoss
1 110 posted 10 years ago by kossmoss
Also we can use HTTP_ACCEPT
0 90 posted 10 years ago by kossmoss
When we can't or won't change the code of image tag with align attribute, but no 'style="margin: 0 10px 10px 0;' or 'hspace=10px' (IMHO, hspace makes bad looking layout in most cases) code within (just pure <img> code), we can use simple CSS rules f...
1 165 posted 11 years ago by kossmoss
You can get hostname from script environment - getenv("HTTP_HOST") (?!'.$host.') matches URLs always except local links
0 115 posted 11 years ago by kossmoss
Affects <A> tags for links starting with $link Example: LinkReplacer ($text, 'http://www.snipplr.com') affects to <a href="http://www.snipplr.com">Snipplr</a> and <a href="http://www.snipplr.com/blog">Snipplr Blog</a>
0 142 posted 11 years ago by kossmoss
closes opened tags in text piece. original code slightly modified to supress PHP warnings NOTE: need to fix the order of closing tags to get standards compliance
0 116 posted 11 years ago by kossmoss
canonical redirect at .htaccess
0 212 posted 11 years ago by kossmoss
Cool font for use in web 2.0 sites
1 109 posted 11 years ago by kossmoss
Applications: 1. Centered block with unknown width 2. Simple block which can have float style (f.e. horizontal menu)
1 110 posted 12 years ago by kossmoss
« Prev 1 Next »