Posted in 1 June 2010 ¬ 13:47h.John
A little problem came up with some user submitted content on a platform I’m working with. A form allows users to submit content with tinyMCE. If the content is pasted from MS Word, the source is then littered with HTML conditional comments that can have a detrimental effect on the the page that returns it. [...]
Read the rest of this entry »
Posted in 27 March 2010 ¬ 23:00h.John
Plus.net have moved to the new CGI platform after some sort of disaster. As this was coming for almost a year, I’m shocked that the platform still seems in such a shoddy state. This has meant that the site has been misbehaving for a few weeks. Most notably causing random Apache errors. I think that [...]
Read the rest of this entry »
Posted in 4 January 2009 ¬ 21:53h.John
I’ve been working on my first ‘proper’ CodeIgniter project this week. It’s been quite gruelling, as there are some moments where I have definitely sped up my production. But it’s constantly getting hampered by the learning curve. It may be slight, but is frustrating when I hit a wall. One issue that just cam up [...]
Read the rest of this entry »
Posted in 4 January 2009 ¬ 10:51h.John
A neat trick I use in PHP is a toggle variable, usually when I’m creating tables and want to alternate the styles. To use a toggle variable: #Create the variable $toggle=true; #Switch it $toggle=(!$toggle); Simple!
Read the rest of this entry »
Posted in 16 May 2007 ¬ 15:40h.John
John begins a quest for an automatic web-based documentation program that will allow him to make some poorly formatted work look consistent on the web.
Read the rest of this entry »
Posted in 7 May 2007 ¬ 01:52h.John
Hashing passwords is a common way to secure them in a database and make sure that they cannot be read easily. But did you know there’s a website that reverse engineers the hashes and stores them in a searchable database? The folks over at RedNoize have created such a site. Obviously, there’s no better protection [...]
Read the rest of this entry »