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 is [...]
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 than keeping your [...]
Read the rest of this entry »
Posted in 29 December 2006 ¬ 12:09h.John
I had a great deal of trouble getting Internet Explorer to redirect the header to a RTSP link using the header function in PHP.
I found that in IE, I would get a HTTP 402 error (page has been temporarily moved). IE would happily sit there and tell me it could not be found.
Firefox was a [...]
Read the rest of this entry »
Posted in 4 October 2006 ¬ 15:05h.John
I’ve been trying to introduce spell checking into my PHP application and have been hitting a small snag. It’s called ASPELL.
For the uninitiated, aspell is a command-line spelling utility to, well, do clever spelling stuff.
In Apache, aspell works wonderfully. In fact, I wouldn’t have even thought that there was a problem. IIS on the other [...]
Read the rest of this entry »