Creating a PHP Forum: A Guided Tour – Part 3: Topics

Creating a PHP Forum | How To | February 8th, 2011

Previously, in Part 2 of Creating a PHP Forum: A Guided Tour, we laid the groundwork for a secure, albeit incredibly simplistic, guestbook application/website. In this post, step 3, we will take a step towards making that guestbook into a forum by adding a new feature: threads. Users will be able to create new threads, and reply to existing ones. Guestbooks are so 1999!

(more…)

Creating a PHP Forum: A Guided Tour – Part 2: Validation and Sanitization

Creating a PHP Forum | How To | February 3rd, 2011

In my last post, I created a simple guestbook page. In this post, I will show everything that is wrong with it from a security standpoint.

(more…)

Creating a PHP Forum: A Guided Tour – Part 1: Guestbook

Creating a PHP Forum | How To | February 3rd, 2011

This is the first in a walk through of my trip creating a simple PHP forum from scratch. I’m creating this “forum” as a way to demonstrate how to create an application using a simple an agile methodology, creating simple components which work by themselves, then tying them together to form something better.

I’ll be guiding you through my process as each post will represent a separate component that builds on those before it. This first post will be a simple guestbook not requiring any authentication or threading. It is the first and most fundamental piece of a forum.

(more…)

YetAnotherForm (YAF) Theming and Layout Customization

How To | May 13th, 2010

YetAnotherForum (YAF — pronounce “laugh”) is a forum package based on ASP.NET (C#) and Microsoft SQL Server. It has tons of features and functionality, and it use my , but when tasked with customizing it… well, that can be not quite so easy.
(more…)

ASP.NET: Connecting to MSSQL Server using Windows Authentication/Credentials

How To | May 12th, 2010

I am learning ASP and ASP.NET for my new job, and today I was working on manipulating a Microsoft SQL database (SCUD) when I ran into a roadblock. I knew I had to use my own user credentials to connect to the secret through ASP.NET, something I thought would be a very simple matter. Well after fifteen minutes of attempting to work out why I couldn’t connect with my username and password (trying variations of the domain/myusername) I finally discovered the MSDN page I needed. Yes, it already exists there, but the fact that it took me so long to find what  I needed means it can’t hurt to refer to it and reinforce it’s presence on the web.

(more…)