Jump to content

Daniel0

Staff Alumni
  • Posts

    11,885
  • Joined

  • Last visited

Everything posted by Daniel0

  1. Technically speaking I don't think the OP actually specified it was a HTML e-mail. I have to say I disagree though, having clickable links in emails (at least ones you want to receive) can be useful. That's why you would use a proper email client that makes links clickable. Kind of like I don't have to put URL tags around this: http://www.phpfreaks.com You'll also find that many mailing lists' guidelines prohibit HTML email as well. All of PHP's mailing lists do for instance.
  2. HTML emails suck anyway. I hate when people send me that.
  3. I'm sorry to break it for you, but your code is not OO just because you've made an object or a class. See: http://en.wikipedia.org/wiki/Object-oriented_programming
  4. 1) What makes you believe anyone here knows? 2) Probably only Google employees know. What makes you think Google employees are not required to sign an NDA? If it's not public knowledge yet, you're probably not supposed to know it. 3) Why do you even care?
  5. Except when you meet one of those morons who think that "zero whitespace" is the best formatting.
  6. How do you know that you specifically want "llo wor"?
  7. See substr.
  8. You should move it to a place that isn't protected by a password.
  9. I tend to use the K&R style. Edit: I'm not sure what you mean with this, but all the code that is custom written for PHP Freaks uses K&R as well.
  10. Try clearing the stat cache.
  11. I don't doubt you know, but the OP might not.
  12. Well, if it's static you can just do like this: echo '<a href="view_dealers.php?type=R%26B">Bill and Ralphs</a> - ";
  13. It's the ampersand that you need to urlencode()...
  14. urlencode
  15. It matches case-insensitively strings that start with a letter a through z followed by 2 to 19 of either of the following things: word characters (as defined by the current locale), a space (ASCII 0x20) or an underscore, followed by end of string.
  16. You could also check out suPHP.
  17. That's not necessarily when you pass the file path to the interpreter and run that instead.
  18. My guess would be that count($obj2->mBrand) evaluates to 0 meaning the last for loop doesn't run.
  19. You can create as many objects as you want as long as you have sufficient memory. By the way: http://en.wikipedia.org/wiki/Indent_style Pick one and use it.
  20. There is some library called PHPExcel or something like that. I never tried it though.
  21. Yup. Google knows everything.
  22. Imagine doing the Gutmann method on that.
  23. I'm studying computer science. A lot comes from reading stuff online though.
  24. Yes there is, but now you're looking at popularity compared to other things as opposed to looking at an isolated element. Have a look at the binomial proportion confidence interval or the bayesian average.
  25. See: http://en.wikipedia.org/wiki/Arithmetic_mean
×
×
  • 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.