Jump to content

scferg

Members
  • Posts

    68
  • Joined

  • Last visited

    Never

Everything posted by scferg

  1. Is there someway that if the code isn't correct, it will display a message like "Code invalid, please retype the code again" ?
  2. I was wondering, if it was possible to have predefined html form values. So, the form would only submit if the correct value was entered. Like, you need to enter "14" but you entered "13" ... the form would not submit. I just thought this would be a simple thing to do with javascript.
  3. Oh well...the archives page wasn't very important anyway. Thanks!
  4. It must be PHP, it is my news archives page :-\
  5. Hmmm...just noticed something. The ?section=BLAH&page=BLAH.php function doesn't work. If you visit my site, hover over the down arrow on the nav, then click News Archives, it goes to the 404 error page. It worked before, I don't know what's wrong...
  6. Ah, ok. Thanks a lot for all this! If you're curious to where your code is bring put to work, my site is http://sims2news.com
  7. So, is this code more secure than my original one? And if so, in what way?
  8. I'll try that code, but my FTP server is being stupid, so I don't know how long it'll be until I can upload anything to test it.
  9. Now it's back to showing the 404 error page when the page does exist. I've got to go...school tomorrow, so I won't respond until tomorrow. Thanks for your help
  10. Err...what do I do with that code? Sorry for my lack of knowledge about PHP
  11. Tried it! Works, perfect! Now...about that security flaw...
  12. On my computer or server? O_O
  13. You're correct. Like, if you wanted to go to my contact page... you'd enter http://website.com/index.php?page=contact
  14. Hmm..it seemed to work, until I used the nav. It goes to the error page, when the page does exist...
  15. <?php if($section && $page) {include("./$section/$page"); } elseif($page == "case1") { echo "case1 goes here no page was written for this statement.";} elseif($page) {include("./$page.html");} else {$number=10; $only_active=TRUE; include("./news/show_news.php"); } ?> Don't laugh about how pathetic it is
  16. Well, I do have a server 404 error, but my PHP just returns with a bunch of not found errors. Is there just a simple way to have text saying "Page not found" ?
  17. I have a website setup using the simple navigation function, like: http://website.com/index.php?page=blah The only problem is that if they typed in a page that does not exist, it returns with PHP not found errors. So, how do I make so that if the page is not found, another file is loaded, like error404.html ? I've tried some other codes, but either don't work at all, or don't work right. I'm a novice with PHP, so I could really use some help with this.
  18. Thanks! As for the images things....I don't know why, but IE screws the colors up! Firefox and Safari renders it just fine. They aren't even in PNG format, so I don't know how IE is messing the colors up...
  19. Ok, my theme is now done and fully functional. Please re-visit. http://sims2news.com/ Be harsh...I need opinions. Thanks
  20. Yeah, it's there because I'm changing the main theme to match the forum. It should be done in a few days.
  21. Hello, I've recently finished making my new template for my site, Sims 2 News. I also finish my forum's template to match the rest of the site...so it might have some bugs in it still. I used the AppolloBB SMF theme for the backbone. I've changed practically all of the images, colors, sizes, etc. so it's mostly my theme now Any/ all comments and thoughts are more than welcome. Thanks! Sean
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.