Apache Webserver

Apache is a very widely used webserver which sends out the pages requested by the user

Links

Apache

It has many modules to extend and add functionality including mod_rewrite that allow you to create search engine ready urls without any Get variables on the end

MySql

Mysql is a widely used database which stores your information in a fast sql database structure

To access and administer the database, you can use packages like

phpmyadmin

sqlbuddy

PHP and Mysql work together well and can expand to huge size tables

Codeigniter

Codeigniter is a very useful PHP Framework which allows for rapid development of websites. We have used Codeigniter for over a year and have found it a great way to build a website quickly using an object orientated paradigm which maximises reuse and structures the code in an MVC design pattern.

Links:

Codeigniter

User Guide

Cheat Sheet

Forum

also visit #codeigniter or irc.freenode.net

Security

Let me start by saying I love CodeIgniter, it’s a developers dream.

Today I plan to talk about some of the security features that are used within my library : Redux Authentication.

Hash Once and Only Once!

Over at TalkPHP someone provided a code snippet which had this code :

$psd = sha1(md5(md5(sha1(md5(sha1(sha1(md5($_POST['password']))))))));

I’ve made a similar mistake myself in the past.  Someone on the CodeIgniter forums pointed out that a solution like the above will actually increase the probability of a collision. Here’s what inparo had to say :

“It’s safer if you only hash it once.  The initial string is random in both length and characters.  The first sha1 gives you a fixed length and reduced character set.  By hashing this again you’re actually increasing the probability of collisions.”

So there you go folks, hash once. This also leads nicely to my next topic “salts”

Read the rest of this entry »

SEO Directories

Getting links is a very important to improve your website position in search engines.

Check this list of very useful directory links from Info Vilesilencer

   Newer→