Jump to content

Daniel0

Staff Alumni
  • Posts

    11,885
  • Joined

  • Last visited

Everything posted by Daniel0

  1. Have you read the topic? I mean all the posts from page 1 to page 7. Have you read the W3C specifications? IE8 is an old browser. It doesn't support XHTML at all. Of course you would have known that if you read the topic. Who is wasting their time? If you think this topic is a waste of time, then why are you participating in it? My interest in these kind of things is academic.
  2. Assuming you set the permissions on your filesystem correctly, that shouldn't be a problem.
  3. That's pretty much the point of suPHP.
  4. If there is a CAPTCHA, it's because they don't want your script to make requests. Locked.
  5. eFishy, I think you misunderstood thorpe. He said that without it, everything would be executed as Apache's user.
  6. I'm not sure what you mean with a "page". Under normal circumstances, objects and other kind of resources do not persist across multiple requests.
  7. Whether you choose Allman, K&R or something different isn't so important, but consistency is. Pick one and stick with it throughout your entire project.
  8. if (mail(/* stuff here */)) { header('Location: index.php'); exit; } else { echo 'something broke'; }
  9. What do you mean with how many? You delimit a string with either single or double quotes. You pick the one you want. If you want to use that one within the string you'll have to escape it with a backslash. In PHP, double quoted strings have variable interpolation and escape sequences (e.g. \n for newline). Single quoted strings are literal.
  10. Maybe mother nature isn't following the Gregorian calendar?
  11. What do you mean by ALL PHP's?? http://dictionary.reference.com/browse/all http://www.php.net/mailing-lists.php
  12. How does that make sense in this context? We had a shit load of earth quakes this year and a lot of people died, "piss my pants laughing". Oh well, each to his own I guess.
  13. Happy new year. May you all get a lot of pimples in 2010.
  14. 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.
  15. HTML emails suck anyway. I hate when people send me that.
  16. 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
  17. 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?
  18. Except when you meet one of those morons who think that "zero whitespace" is the best formatting.
  19. How do you know that you specifically want "llo wor"?
  20. See substr.
  21. You should move it to a place that isn't protected by a password.
  22. 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.
  23. Try clearing the stat cache.
  24. I don't doubt you know, but the OP might not.
  25. Well, if it's static you can just do like this: echo '<a href="view_dealers.php?type=R%26B">Bill and Ralphs</a> - ";
×
×
  • 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.