Jump to content

End User

  • Content Count

  • Joined

  • Last visited

Everything posted by End User

  1. Greetings from Cambodia. "Soks sa bey" :)It's hot and wet, and we're almost ready to come back. Today we're going to the Holocaust Museum and then (oddly enough) the machine gun range, where we'll pay some $$$ to shoot a variety of machine guns (AK47, M16A1, and a .50 Cal Ma Deuce). Kind of an odd itinerary, but what the heck. Cheers.
  2. How can you tell when a programmer has had ######?When he’s washing the pepper spray out of his eyes. --------------------------A programmer is walking along a beach and finds a lamp. He rubs the lamp, and a genie appears. “I am the most powerful genie in the world. I can grant you any wish, but only one wish.” The programmer pulls out a map, points to it and says, “I’d want peace in the Middle East.” The genie responds, “Gee, I don’t know. Those people have been fighting for thousands of years. I can do just about anything, but this is likely beyond even my limits.” The programmer then s
  3. 1) Replace it with a POST request.2) What's the 2nd question.
  4. Auslang: My wife has successfully learned to say, "Roighto, throw anuthuh dingo on th' barhbie, mate". It's so cute I may use it for a ringtone, lol.
  5. The deeper meaning eludes me.
  6. I agree, and I'd like to make an additional point. How many of the English speakers here even speak more than one language? A fraction of a percent, I'd bet. So before people dump on a non-native speaker for not speaking English well, consider the fact that the person went to the trouble to learn a 2nd (or 3rd) language in the first place. Then ask yourself how well you could communicate in their language. I'm one of those people who has virtually NO aptitude for learning a foreign language (and believe me, I've tried). Speaking a foreign language is like magic to me, lol, and I have a lot of
  7. More like a very, very stripped-down chat room.
  8. You can use this to try and get the real IP address: if (getenv('HTTP_CLIENT_IP')) { $ip_address = getenv('HTTP_CLIENT_IP');}elseif (getenv('HTTP_X_FORWARDED_FOR')) { $ip_address = getenv('HTTP_X_FORWARDED_FOR');}elseif (getenv('HTTP_X_FORWARDED')) { $ip_address = getenv('HTTP_X_FORWARDED');}elseif (getenv('HTTP_FORWARDED_FOR')) { $ip_address = getenv('HTTP_FORWARDED_FOR');}elseif (getenv('HTTP_FORWARDED')) { $ip_address = getenv('HTTP_FORWARDED');}else { $ip_address = $_SERVER['REMOTE_ADDR'];}
  9. I overlaid it on top of a page that had both text and graphics; the page itself had a white background.
  10. Just for fun, I tried to make a "blur" overlay and it wasn't too hard. I started with a uniform light gray background (800*800) and fiddled with the noise, blur, and opacity settings. I added some speckling with the airbrush tool and then used the smudge/smear tool to smooth things out a bit. All in all it worked far better than I would have thought.
  11. I have a few high-traffic sites, and there are a couple of things I can suggest. In general I stay away from frameworks because they tend to ###### up a lot of overhead, make a lot of DB calls, and some (many!) of them aren't very well optimized. I do everything I can to minimize database calls and I serve static pages whenever possible. I stay away from stuff like Smarty if possible because even though it does caching it still has to be run for every single page load. I use a custom cache solution if necessary or something very lightweight. Optimizing images can help, but there's a limit to h
  12. End User

    Array problem

    I think they have a support group for that.
  13. End User

    Array problem

    Those aren't variable names that you're passing in. Unless defined elsewhere PHP will probably treat them as undefined constants.
  14. No, and thank goodness you can't. It would be the juiciest phishing exploit you could imagine.
  15. Crimson Editor seems pretty good to me for general purpose use.
  16. That's right. He didn't actually say he wanted to delete records, he just wanted to check for rows with duplicate titles.
  17. This might do it (untested): SELECT id, title, COUNT(title) AS NumOccurrencesFROM my_table GROUP BY title HAVING ( COUNT(title) > 1 )
  18. End User


    Are you complaining about the auto-incrementing of the ID? Don't worry about it. Numbers are cheap.
  19. Here, try this link: PDF to text
  20. My suggestion: strip out all the "noise" words and then do a "LIKE" search. So a term like "i want to buy a new car" would be boiled down to "buy new car", like what wirehopper suggested. The term "new car for sell" would become "new car sell" ("sale", actually). Short list of noise words:about,after,all,also,an,and,another,any,are,as,at,be,because,been,beforebeing,between,both,but,by,came,can,come,could,did,do,each,for,from,getgot,has,had,he,have,her,here,him,himself,his,how,if,in,into,is,it,likemake,many,me,might,more,most,much,must,my,never,now,of,on,only,or,otherour,out,over,said,same,see,
  21. I like it. Very nice, very clean and uncluttered. Personally, I'm okay with demeaning IE users as long as they can still see the content, lol.
  22. Correct.Satisfying PCI standards is not trivial. Unless you know what you're doing either 1) hire someone who knows how to meet the PCI reqs from top to bottom or 2) avoid them entirely. Number 2 may not be an option for you if you can't use a 3rd party solution (payment gateway or card processor) but storing CC numbers and securing them to PCI levels of compliance is difficult. They have to be secured from start to finish, both in electronic form and in any hardcopy form (and that includes handling of the hardcopy from the printer to the landfill). I just finished my latest round of PCI compl
  23. I didn't see a forum that looked like it was appropriate for job postings and the like. If there is and I missed it, my apologies.I have a budget for a small project that involves modifying/extending a jQuery-enabled calendar. If you're interested or would like to find out more, please PM me.
  24. Lol, only 18 years to go. And trust me, as soon as they start to date or drive, you won't be sleeping well then either.
  • Create New...