Posts Tagged ‘PHP’

CodeIgniter’s Form Helper doesn’t respect POST arrays

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 »

PHP Toggle Variable

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 »

Automated Documentation in PHP

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 »

Reverse Engineering Passwords

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 »

Using the RTSP Protocol with the PHP header function

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 »

ASpell, PHP and IIS

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 »