Jump to content


  • Posts

  • Joined

  • Last visited

  • Days Won


Everything posted by floridaflatlander

  1. You need to get fire foxes firebug, it is a big help. When you use it, it will highlight the margins and padding. Also when you hover over or click an html tag it will tell you what file and line number a style is coming from(a big help) and the inheritence of any.
  2. There is a color(white) and a margin for the body.
  3. also try a body background color like a shade of gray or something, just in case something happens in the future the colors will at least blend. also container needs to be #container{ width:100%; ............... }
  4. Well call me an idiot yoursurrogategod. I clicked the above link.
  5. Thanks for the reply. I looked at SMF and tried to figure out what SMF does by looking at their members table, I think they use a cookie/session too. Anyway, I'll come back tomorrow morning and mark solved. Thanks
  6. What is the big picture on an effective way to implement an user agreement? Do most people use a special db table column indicating that a user has agreed to the user agreement or do they use a session or cookie and if it exist let the user proceed to register? Thanks
  7. Thanks for the reply. Is it even worth worrying about using mb_detect_encoding? I've don't think I've seen it here(or anyone talking about UTF-8 encoding/decoding) before and the only place I've seen that said it needed to be used is the book "Wicked Cool PHP"
  8. Just throwing this out there and it sounds like a jury rig but … assign your queried variables to a list and then use if statements or a loop inside the main loop if any to reassign the empty variable to if needed. Then you'll have a named variable with the value from the query or to use in your results or in your while() loop.
  9. I have a book "Wicked Cool PHP" and in the security section it suggest that one would should use utf8_decode to "prevent potential Unicode codec problems" Something like this $name = utf8_decode($_POST ['name']); Is this a good idea? I have "<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />" in the header, are these diffent things? I've found web sites saying this is a bad thing Wicked Cool PHP suggest $name = utf8_decode($_POST ['name']); $name = htmlentities($name, ENT_NOQUOTES); $name = str_replace("#", "&#35;", $name); $name = str_replace ("%", "&#37;", $name);] Is this a good idea or just extra work? I use the standard strip_tags & mysqli_real_escape_string now.
  10. Sh--. The answer is no, sorry Mahngiel. Anyway there are some links for the OP.
  11. This is a prime example why there's enough work out there for the rest of us. Us? lol, Here's a menu people like us can use. http://ago.tanfa.co.uk/css/examples/menu/tutorial-h.html. Here's another http://htmldog.com/articles/suckerfish/dropdowns/ Also last I looked, you don't have a html header and you don't have opening and closing html tags or opening and closing body tags. Do you know what these things are?
  12. You're a web developer with an attitude and your web page doesn't even have a header?
  13. CSS looks good, 72 errors in your html. Fix those then see what happens.
  14. That's good advertising Mikey, showing you can work will with others. Also if it works in chrome & firefox it should work ie9, odds are you messed something up and have something extra or missing somewhere. In the mean time plug your css in here http://jigsaw.w3.org/css-validator/ and your html in here http://validator.w3.org/ and see what they say. Sometimes and extra semicolon or bracket can throw things off in one browser but not another.
  15. You may be over thinking it. An example is the style or jscript can go on it's own page or in the html header between tags. Php can be on it's own page then included in an web page or enter woven in the web page.
  16. I would say yes or have sessions for the registering steps.
  17. Also it sometimes helps to run you html source through http://validator.w3.org. It will tell you if you have missing or open tags.
  18. That's what coppermine photo album does, sets a cookie for a vote on a photo.
  19. Mahngiel, do you have a time column to make the hash only usable within a certain time? I've been toying with this in my mind but I'm not wanting to make another column for time.
  20. I think he's talking about a key, to his email address, not a password.
  • 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.