Jump to content

ober

Staff Alumni
  • Posts

    5,327
  • Joined

  • Last visited

Everything posted by ober

  1. Echo your query before you execute it. Is it getting the right value? Look at the source of the page where it lists out the unaccepted rows. Is it getting the right value?
  2. http://www.apachefriends.org/en/xampp.html Doesn't look like it.
  3. Ditto here. I used to install separately and that's how I build servers, but for a local dev box, why bother with all that hassle? I'm curious if anyone has experience with xampp vs. wamp and which is better and why? I've never used wamp and I'm curious if I'm missing anything.
  4. I used to own a 30-06 Remington 7000 series rifle. That was when I used to hunt deer. I've moved away from where I used to hunt and now the area I live in only allows shotgun hunting so I sold my rifle. That... and I don't really have a great interest in hunting. So now I don't own any. But I've shot everything from a pistol to a muzzle loader.
  5. I can't personally think of another way to go about it than using cookies. IPs are out for the reasons you stated. You can't store it in sessions and there really is no unique identifier beyond that. Chances are that even the web-savvy people aren't going to go to the bother of deleting the cookie just to vote again. Even if they did, that would be a pain to repeat. If you wanted to go one step further, you could put some flood control in place by IP and use the cookie method as well, so no one from the same IP could vote again in less than a 5 or 10 minute span. That would be annoying enough to deter people from deleting and voting again right away. You might catch a few people behind a firewall and piss them off, so it's up to you in terms of trade-off. Sorry, but I can't think of another way to do it.
  6. ober

    Web Trends

    I thought you guys/gals would get a kick out of this... pretty interesting view of the net: http://www.zoomorama.com/2477f0e8b447bb6570493cdac464c41f
  7. I need more sleep... either way though... I don't generally mind that.
  8. Umm... since when? You can right click on any link and open it in a new tab or window even when the target is set to _blank. I don't know a browser that stops you from doing that. I actually prefer to have links open in a new tab.
  9. Yes, it will load that page into memory on the server and look through it. 100 error messages isn't something I'd worry about, however. However, if these 100 messages can be categorized and only loaded in specific places, then it probably wouldn't hurt to do it. Loading that up on a page that will have no errors is just inefficient. Then again, I've seen worse coding.
  10. You need to edit the php.ini file to allow for larger files to be transferred.
  11. RSS pages.... you'll need to be a little more specific. You mean an RSS feed? Those are XML files. All you have to do is parse the XML and format it however you want.
  12. It would be helpful if you told us what line 413 is.
  13. Your variable is $username. Your query is using $userName. $username != $userName. Variables are case sensitive.
  14. The username and passwords are encrypted using either md5 or sha1. The timestamp is a timestamp. You can use functions in PHP to extract the actual date and time from that value. I have no idea what the location is. I'm not sure why you would encrypt the userid... that's just silly. I would NOT store the password as plain text however.. that's a security concern.
  15. You will need to query the database for the ID. That's not done by passing the value from page to page. The only reason you need to pass a value from page to page here is to determine what record to get the ID from.
  16. There is nothing wrong with those lines other than the fact that you are using very old styling methods.
  17. Show us how you combined the code. Otherwise we have no idea how the code flows.
  18. I copied your code and as long as I take out the bbcode bold tags, I get no syntax errors.
  19. The short answer is no. We're not here to promote your products. We're here to help you build them when you get stuck. We don't get anything out of promoting you, so what is the incentive for us to do it?
  20. I'm not saying you'd always be open to that. But I personally wouldn't trust my shared hosting with my personal files. Besides, is Godaddy really going to let you store more than 1/2 TB of data on a shared account? (by the way I'm assuming you have a shared account... you may have a VPS or dedicated... I have no idea).
  21. http://www.getdropbox.com/ That's only 2Gb (right now) but it would get you the same thing. There are other options out there as well. I would never backup my computer files on a shared server.
  22. I couldn't agree more. As far as I'm concerned this discussion is over.
  23. So I assume you're not ever posting SQL statements, or if you are you are only doing it through POST? You should also clean POST input, because someone can inject via POST just as easily as they can into GET.
  24. Yeah, the easiest would definitely be storing the log file elsewhere, and I know most servers will let you do that.
  25. Must be something wrong with your server config... it works fine for me when I copy and paste your code: Array ( [0] => 11:00 - 12:00 [1] => 12:00 - 13:00 [2] => 13:00 - 14:00 )
×
×
  • 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.