Please login or register. Welcome to the Studio, guest!


Quick Links:


newBookmarkLockedFalling

RamzaAou

RamzaAou Avatar
You'll never know me...

*
New Member

17


March 2008

Notice: I've asked this question on vForums.

Where/ How do you learn to code your own message board software in PHP or a good language for speed and easy URLs?

I would love to code my own software.... anyone have an Idea of how to start? Is there a tutorial for the basic features of the forum to code them?



Chris

Chris Avatar

******
Head Coder

19,519


June 2005
WARNING: This tutorial in the next link has TONS of security holes to be wary of when making the forum system. It's just for learning the basic methods.

Example tutorial

That's the most common one people use to learn from. As I said though, it's full of SQL injection points, XSS and CSRF issues, etc. Not necessarily something you want in your forum system. :P

As for creating your own... it's best to tackle a smaller project first. Get accustomed to PHP and its numerous functions. (I mean, there's a crap load of them...) Once you get used to PHP, make yourself a simple blog or something. Have some people test for security issues. Once you're assured then... then I'd maybe attempt a forum system. But be warned, they aren't easy. :P


Last Edit: Mar 5, 2008 1:52:42 GMT by Chris

RamzaAou

RamzaAou Avatar
You'll never know me...

*
New Member

17


March 2008
The security holes can be fixed by my friends... as for the basic I know I can do them. For the other features I'm thinking about.... I might have to learn some advanced PHP and SQL scripting.

Thanks for the link, Chris. This is really gonna help me a lot for ton of the basic features. As for the SQL part.... I'll have one of my friends to work on that for me.

I will agree with the smaller project. I'll have to get used to the use of PHP.


Chris

Chris Avatar

******
Head Coder

19,519


June 2005
If you're trying to create a forum system like PB, it's best to go from scratch by the way. That site isn't 100% designed to be like PB.

Here's a few things to watch out for though when you work on it:
--> ALWAYS make sure the user is able to perform an action before doing it. I could guess the URL to delete a post or something even if I don't have powers to
--> CSRF vulnerabilities. (Wikipedia would have more info.)
--> SQL Injection (Watch your cookies. They CAN be edited by the user)
--> XSS issues

Those are just some basic issues that might happen. I just figured I'd mention them so you can look out for them. :)

newBookmarkLockedFalling