PDA

View Full Version : PHP Forum



Blender
05-08-2009, 11:16 AM
Can someone tell me if my EXTREMELY primitive article/forum system works properly?
I tested it, but I need someone else to.

Any comments or ideas?

Oh, here is the URL:http://netpie.orgfree.com/ (http://netpie.orgfree.com).

Thanks!

senrath
05-08-2009, 11:17 AM
Seems to work.

Blender
05-08-2009, 11:20 AM
OMG!!!
I can't believe something that I made actually worked!

Time to out-perform vBulletin...

Blumblebee
05-08-2009, 11:21 AM
yeah i tested it works.

Dan Cardin
05-08-2009, 06:55 PM
naice. me gusta, pero you may want to have it pop up a hint when mousing over the names to get the full, untruncated name. And it shows the login form whether or not you're logged in when you go to a page.

Blender
05-08-2009, 11:58 PM
Thanks, I will set MySQL to stop truncating it at 50 characters...

Wizzup?
05-09-2009, 12:13 AM
Now to test injection... ;)

Floor66
05-09-2009, 12:16 AM
Make forum categories :D
Not that hard. Save the categories in a DB, and whenever you make a new thread add the ID of the category (`cat_id` for example) with the query.
So you get something like "INSERT INTO `threads` VALUES ('$created_by', '$post_date', '$title', '$content', '$category_id')" and have one extra column called "`id`" with auto increment.

@Wizzup?
Don't totally fuck it up though ^^

Dan Cardin
05-09-2009, 02:44 AM
Thanks, I will set MySQL to stop truncating it at 50 characters...
not what i meant :(. I would save the whole thing, then truncate it in the php. Then go to something like this (http://www.jauhari.net/create-pop-up-hints-with-php.jsp) and use that to show the whole topic when moused over and waited for a second or 2.

senrath
05-09-2009, 05:19 AM
Now to test injection... ;)

I already tested some of the more common injections, and they didn't work. Hooray!

Blender
05-09-2009, 08:28 AM
Really?

I don't recall setting up quote stripping for MySQL...
Oh well, stupid memory...