Jump to content

floridaflatlander

Members
  • Posts

    671
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by floridaflatlander

  1. So this means I have to limit characters on input?
  2. I've searched for this and it seems it should work but it doesn't. As I under stand it, INT stores an integer in total up to 2 billion plus and if a length is assigned like int( 8 ) only 8 charcters of that length will be displayed. But my problem is if I put in more than 8 charactors they are all displayed, can someone tell me whats up? Thanks
  3. I see a difference, I think the div that has sharing, increases and trending should be clear both. In ie8 it's look like it's in the right column, in 9 & firebox it's across the bottom.
  4. I know what you mean, an old wordpress theme I had was like that and the css for this forum is probably like that. Close to 4k lines Study your css to see where you can cut out styles to eliminate duplicates. Also plug your site URL into these sites to get a heads up on your code. You can also direct input css: http://jigsaw.w3.org/css-validator html: http://validator.w3.org Website Optimization: http://www.websiteoptimization.com/services/analyze/
  5. The first thing a browser does is load each one of those files along with the header for those files first each time you load a page. I'd combine them and if possible use an if condition to include special css on certain pages.
  6. Proud of you for going to Cornell, some friends of mine have kids in the Vet school. One of the kid's parents is a vet school grad and the other a Dairy school grad.
  7. Hall of Famer, are you in the states? That's interesting, my states main engineering school UF is just down the road, I wonder what they would say? My son doesn't go to UF but was probably talking about freshman because that was who was there mostly this summer. The Fall semester started this week. On a lark last night I looked at Apple laptops, they cost real money.
  8. Is that 9% of the 43% as in if you had 100 users, that's 9 users or if you had 100 users that'd be ~4 users? 4 users, 9% of 43
  9. IE's compatibility mode takes care of that. As a double check you can use a service like IE Tester to test for 6 & 7. As far as IE's compatibility mode goes it does not check for ie6. Also someone knows phpfeaks g.. analytics numbers, they do use it.
  10. That's kind of what I thought. If I had to guess, almost everyone has an iphone. I'm also guessing some of the laptops can be company/product loyalty spill over.
  11. I took out the parentheses for you, does that make it easier?
  12. My son recently started school at a major university(in football not academics) and he told me that almost every laptop you see, is an Apple, very few of the college kids students use a windows based machine. Back twenty years ago the geeks made grunting noises every time someone said the name Apple. What's changed? Is this common? Also he might have been hitting me up for a new laptop and I just figured it out.
  13. I just looked at my google analytics and ie is 43% of my visitors, of those ie users 0.22% use ie6 and 9% of that 43% use ie7. Safari is 21% of the total and Firefox is 12% of total All I do now is use firefox and ie9 and ie's compatibility mode. Everyonce in a while I take a glance in Safari.
  14. If it's a business expense, it's not even covered under his HOME owner's insurance. You need separate insurance for business property. It may be different now but years ago I had a cheap rider that allowed for 5-10k(somewhere around there) in business equipment at my house. I want to say 10k but that seems like alot for twenty plus years ago. Of course I bought a computer with 256k of ram, 20 mg running at 20 ghv for 3k, I thought I was the man.
  15. I would have already contacted my insurance company already if I was you.
  16. There was a flood? First you said it rained, there is a difference to the man.
  17. I think businesses MAY be eligible for federal assistance if they live or own a business in a county declared a major disaster area by the President. I am sure there are many hoops to jump through.
  18. LOL, what a hoot Are you in the states? Are you around Isaac? If so FEMA may help
  19. Worked great Pikachu... and yes I remembered to turn apache on & off for testing Thanks everyone
  20. Thanks everyone, I'll test and come back and mark solved, hopefully.
  21. so ... if (function_exists(magic_quotes_gpc = on)) { stripslashes() mysqli_real_escape_string() } else mysqli_real_escape_string()
  22. Maybe a session and if for some reason there is no session ... back to the index.php
  23. http://php.net/manual/en/function.function-exists.php says "Return TRUE if the given function has been defined" so ... if (function_exists(magic_quotes_gpc)) { stripslashes() mysqli_real_escape_string() } else mysqli_real_escape_string() would be how I would use it?
  24. I have a small site and right know for strings I use mysqli_real_escape_string. However when moving me to another server my provider left magic_qoutes on. So strings started adding slashes in code I wrote (but not in wordpress and smf for some reason(?)). I've emailed them and informed then that I wanted the m_qoutes off. This is the second time this has happened in a year and a half. Anyway, would it be bad form to have stripslashes() just before mysqli_real_escape_string as back up?
×
×
  • 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.