Digital Consumption - Tagged: PHPhttp://digitalconsumption.com/Charles Darke's Personal Websiteen-gbThu, 25 Jan 2007 19:07:19 +0000Thu, 25 Jan 2007 19:07:19 +0000Copyright 2005-2006, Digital Consumption.600How to create a Visiglyph cache http://digitalconsumption.com/forum/Howto-create-a-Visiglyph-cacheIf you use visiglyphs on your site and find that generating lots of glyphs dynamically is slow. A useful trick is to save as an image each glyph you generate in a cache so that you don't have to regenerate the glyph. Here's how to do it. [Continued: <a href="http://digitalconsumption.com/forum/Howto-create-a-Visiglyph-cache">Howto create a Visiglyph cache</a>]nospam@example.com (Charles Darke)Thu, 25 Jan 2007 19:07:19 +0000http://digitalconsumption.com/forum/Howto-create-a-Visiglyph-cachevisiglyphsphpcodecacheA simple solution to OpenID phishing attackshttp://digitalconsumption.com/forum/A-simple-solution-to-OpenID-phishing-attacksI'm currently testing a simple fix to prevent phishing attacks on OpenID from malicious relying parties.<br><br>The idea is simple: I have a static IP address and so instead of asking for a password, I've modified an IdP to authorise by checking my IP instead of requesting a password. This has the obvious disadvantages of requiring a static IP and limiting you to posting from home. [Continued: <a href="http://digitalconsumption.com/forum/A-simple-solution-to-OpenID-phishing-attacks">A simple solution to OpenID phishing attacks</a>]nospam@example.com (Charles Darke)Tue, 23 Jan 2007 22:31:28 +0000http://digitalconsumption.com/forum/A-simple-solution-to-OpenID-phishing-attacksphpcodeopenidsecurityVisiglyphs for IP visualisationhttp://digitalconsumption.com/forum/Visiglyphs-for-IP-visualisationI've created Visiglyphs --- a PHP implementation of a <a href="http://www.levitated.net/daily/lev9block.html">9-block pattern</a> which can generate a pattern from a seed value. Visiglyphs are useful to distinguish different data visually:<br><br><center><img src="http://digitalconsumption.com/userfiles/1_visi1_F_DTBz4I9cgskldY.jpg"> <img src="http://digitalconsumption.com/userfiles/1_visi2_F_rjCJVv6y8MGIg-.jpg"> <img src="http://digitalconsumption.com/userfiles/1_visi4_F_YSfxdvEnjmXPND.jpg"> <img src="http://digitalconsumption.com/userfiles/1_visi3_F_iRT5RowzAeHwoE.jpg"> <img src="http://digitalconsumption.com/userfiles/1_visi5_F_LcDL3B5uAXHERO.jpg"></center><br>Visiglyphs can be used for visually representing data in glyph form. [Continued: <a href="http://digitalconsumption.com/forum/Visiglyphs-for-IP-visualisation">Visiglyphs for IP visualisation</a>]nospam@example.com (Charles Darke)Sun, 21 Jan 2007 16:21:29 +0000http://digitalconsumption.com/forum/Visiglyphs-for-IP-visualisationvisiglyphsvisualisationphpcodeidenticon