Jump to content

Anders Moen

Members
  • Posts

    866
  • Joined

  • Last visited

Everything posted by Anders Moen

  1. Haha, okay, thanks :)You're a nice guy Prateek. All of you are
  2. Nice! Thank you Prateek :)I'll add them in the next version of the system, which will be better protected of (X)HTML. I forgot to put that on the title this time, lol
  3. Anders Moen

    Scrolling Text

    Do you mean so it scrolls down your site in a certain speed?
  4. Okay, if you use this script, you can easily get sql-injections, because you don't use mysql_real_escape_string or some else protecting. $sql="INSERT INTO any (1)VALUES('$_POST[comment]')"; These 3 lines is wrong. If this is gonna be right, you need either this: $sql="INSERT INTO any (comment)VALUES('$_POST[comment]')"; or $sql="INSERT INTO any (1)VALUES('$_POST[1]')"; And the best would be this: $comment = myql_real_escape_string($_POST['comment']); // this prevents sql-injections$sql="INSERT INTO any (comment)VALUES('$comment')"; That might not the be error you get, but I'm just telling you :)I didn't actually read your first post.
  5. I haven't put it on yet, but I can easily do that in the document that holds the bbCodes. But if I do, I doubt I will make them myself, I've already tried. That was a failure, but I need a place to get smilies that's legal to use. Do you know where?
  6. I don't know why really...I just started with it, because it's easier to change the design for people who download it when I publish it. I mean, instead of changing several sites, they change about ... 10. I think it's less though.Dynamic pages are best:P hehe
  7. Vchris, don't be mean to the poor guy then, hahahaha!!!
  8. Vchris, I've put something in front of the code that select's from the database, so if you're not logged in you can't see the comments right now. But I will fix that soon.*The comments is fixed *Oh! That person that is sitting and updating my site for his life, please stop!I get that too many connections.It's fixed again now
  9. Okay.So did you then? Or who did if not you?It's hard to say when they used Demo User hehe
  10. Haha, yeah I know! I didn't add it, though. I think The Master did:P
  11. http://andersmoen.hotserv.dk/cms/ I added on the penguin in the top background:PBut it doesn't look very good, does it?
  12. I know, but I'm gonna put on<?phpif (isset($_POST['one_for_each_page_in_admin.php'])) {header ('Location: admin.php');}?>But you don't have to click on another link...you can update the page (but not if you've added news or something, cause then you just add it twice). I'm gonna fix that too.
  13. Thanks for a nice little name and the email validation link. I will try it as fast as I can :)As I said, I added on registration page if you want to register and get your own account at the test CMS
  14. Haha!But I put on a register form and stuff, so you can register your own account on it now http://andersmoen.hotserv.dk/cms/index.php?page=register if you don't want to use the demo user.Can you help me with email validation too?
  15. No =/To connect, you can use this:$con = mysql_connect("localhost", "username", "password"); and then some more
  16. You mean like using for example localhost to connect to the database? Cause I think AwardSpace use localhost if this is what you mean.
  17. Nice! Maybe I'll try it some day :)I doubt I will use it, though, because I will use my own instead, hehe.But does anyone here have any suggestions for a name on my system?
  18. So...what you think of it then? Just try out everything that's there - add news, delete news, edit news and make pages update the profile and stuff if you want to
  19. I know...it's a lot of code in that pagination script (well, not very much), but some and I just can't be bothered to find a way to fix that. But hey! I think you will survive even though that is there, haha-
  20. Hm,I don't have any problems with it. Try to close the site, and then go there again then, That usually helps me
  21. Okay, it's up again :)But please, don't just sit there and update my site cause that's what happening when you do that
  22. I know. Someone has been updating the site over and over again
  23. Log on with demo as username and password. I don't want hundreds of users at the test. Maybe I put on a register form for users like you too, but I can't now cause I'm over the limits of connections:P
  24. If you log in you can make sites like that by clicking on "Make a site". Then the link will appear there :)And to add comments, you gotta be logged in.Who has been updating the site a lot now?!?!
×
×
  • Create New...