Blender
2009-05-08 07:16:17
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/.
Thanks!
Blender
2009-05-08 07:20:56
OMG!!!
I can't believe something that I made actually worked!
Time to out-perform vBulletin…
Dan Cardin
2009-05-08 14:55:20
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
2009-05-08 19:58:33
Thanks, I will set MySQL to stop truncating it at 50 characters…
Wizzup?
2009-05-08 20:13:40
Now to test injection… ;)
Floor66
2009-05-08 20:16:29
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
2009-05-08 22:44:33
From: xXxBlender3DxXx
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 and use that to show the whole topic when moused over and waited for a second or 2.
senrath
2009-05-09 01:19:27
From: Wizzup?
Now to test injection… ;)
I already tested some of the more common injections, and they didn't work. Hooray!
Blender
2009-05-09 04:28:33
Really?
I don't recall setting up quote stripping for MySQL…
Oh well, stupid memory…