Browsing articles in "PHP"
C# // PHP

Unique Hash (Tiny Code) ported to C#


In my search for efficient algorithms that create unique indexes based on arbitrary values, I found this wonderful snippet of code on a Developer’s blog. It seems useful when creating unique identifiers that need to be publicly visible while still creating some obfuscation as to how they are sequentially calculated. Since this solution uses base 62 numbering for the result it will also use less characters when dealing with larger values in a string. This method is definitely not […]


Hacked: CSS & JS Compression on GoDaddy

Internet Security

Let me welcome you to the first post on our new blog. Here is “The Situation”: You have a website hosted on a shared hosting environment like GoDaddy or any other Apache environment that doesn’t support mod_gzip and mod_deflate and you wanted to serve those big CSS and JS resources as compressed, that way your users get a faster and more efficient experience. The following is a very popular method of transparently compressing and sending […]