Jump to content

scootstah

Staff Alumni
  • Posts

    3,858
  • Joined

  • Last visited

  • Days Won

    29

Everything posted by scootstah

  1. Can you elaborate? Wouldn't the script end after the header redirect anyway?
  2. You probably wouldn't get anything for the effort, because you probably wouldn't build anything that is better than what is already out there. No offense. If you want to build something akin to vBulletin, you are looking at a very long development time. If you want something extremely simple and straight forward, then a couple of days at most. The features you want to include will dictate the level of difficulty.
  3. You can't. Why not display it after the $i is set?
  4. What is password2? And how are you storing the passwords? If you are hashing it like you should be, it will be a consistent length and so you can use char instead of varchar.
  5. Change to Protected: <p id="Protected_Required">' . $row["Protected_Required"] . '</p>';
  6. I mean that if you were to unmaximize your browser window and resize it, Javascript can do that.
  7. It is very poor practice to use eval in this way. There are a few rare circumstances where eval is good to use. This isn't one of them. If you want your function to alter variables like that, just use global variables. It's still bad practice, but better than eval.
  8. Oh the irony. It really doesn't surprise me in the least. Not even a little bit.
  9. Most developers tend to go the "rapid development" route. This means either using frameworks or an existing CMS to cut the workload down. The popular CMS's have a huge amount of plugins which means they can do pretty much everything with little effort. The popular frameworks also have a lot of libraries so they too have a lot of existing functionality. Many freelancers have come up with their own home-brew systems that are more targeted for their niche and clientele. For the example you provided, (and as much as I hate it) WordPress sounds like a good fit. WordPress has a very friendly user interface which means simple little sites like that are quick and easy. There's no reason to reinvent the wheel unless you want to know how the wheel works.
  10. Why?
  11. You can change the view area of the browser window with Javascript, but you can't actually change their display resolution.
  12. What is the charset of the database?
  13. That is indeed odd. If the encoding is already UTF8 that function shouldn't do anything.
  14. There is no function called sha512. You have to use hash() or hash_hmac().
  15. Is the encoding of the page in UTF8? Make sure this is in the HTML head: <meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
  16. Does it work if you change it to comadd&propid=$propertyid
  17. What does it do?
  18. Okay. And?
  19. Only if it meets those conditions. If there is an error in the script it's not going to do that.
  20. htmlspecialchars()
  21. Get the Firebug extension for Firefox and see if there are any javascript errors.
  22. Are you going from http to https? You can't keep cookies between the two.
  23. The only other options is to either change the image name or do what you are doing with the query string. But instead of a random string, use filemtime().
  24. And the fact that there really isn't any out-of-the-box alternatives.
×
×
  • 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.