Jump to content

Daniel0

Staff Alumni
  • Posts

    11,885
  • Joined

  • Last visited

Everything posted by Daniel0

  1. You wouldn't want to strip the tags. What if the user wants to talk about HTML like in this topic?
  2. It was removed a couple of months ago. See: http://www.phpfreaks.com/forums/index.php/topic,273159.msg1290091.html#msg1290091
  3. The spammers stole it.
  4. Try telling that to Google. I'm pretty sure that they said in the Google I/O presentation about Google Wave that they created the client using Google App Engine and Java. If you are going to make any Android applications you'll most likely be using Java as well.
  5. Actually, that will not work, cags. Using yours, Google will become <a href="www.google.com">Google</a> (it's missing the schema part).
  6. This is because of magic quotes.
  7. Any reason you don't want to use ZipArchive in PHP?
  8. That's what aliases are for...
  9. Daniel0

    Music

    What about when you right click on a textarea and select "Check Spelling" as well?
  10. Daniel0

    Music

    I'll have to say, I have no idea what "kakoaked" is supposed to mean either. Nor do I understand what "pmpl" is supposed to mean. The only thing that comes to mind is pimple, but that doesn't make sense in the context.
  11. Oh. Fixed.
  12. Yeah, you see, "cool stuff" is pretty subjective. To me, "cool stuff" is theoretical stuff.
  13. Why bother with PHP4 anyway? PHP4 end of life was announced in July 2007. It doesn't even get security patches anymore. Upgrade! http://www.php.net/archive/2007.php#2007-07-13-1
  14. Yes you can. You may do it if you do not want it constructed outside an existing object of that type for whatever reason.
  15. PHP is a language while RoR and Django are frameworks. I don't see how you can compare them. You can compare PHP to Ruby and Python if you wish.
  16. 1) OP asked for the language that would be most relevant to a web designer. Creating backdoors hardly fall into that category. 2) So can many other languages. What's your point? What makes you think VB is special because of that?
  17. Uhm...
  18. If your choice is between VB and Java, I'd say Java as well.
  19. Sounds easy. Paraphrased ToS of website using GA: "We are collecting statistics about your usage of this site, and doing this requires a cookie. We refuse to offer the service without this." Then you just need to display a visible link to your ToS on every page. You need to ensure that logged out users (if applicable) don't get the GA JS on their first page view, and never on the ToS page. People don't read terms of services anyway. It's not like for instance we (PHP Freaks) are obligated to provide any service to anyone, so we can really just tell people to GTFO if they don't like that we're using GA. Of course PHP Freaks is not based out of Europe so it doesn't matter anyway.
  20. One way they could do it without breaking BC is by implementing the automatic boxing/unboxing of primitives like in Java. There are already classes like SplBool.
  21. The first two seem to be extremely convoluted ways of doing this: [math]experience(L) = 500L[/math] [math]L(experience) = \left\lfloor \frac{experience}{500} \right\rfloor + 1[/math] Or in PHP... function experience($L) { return 500 * $L; } function Get_The_Level($exp) { return floor($exp / 500) + 1; } The last one is broken, so it effectively always returns the integer 457 and makes an E_NOTICE about $exp not being set. Assuming it worked, I would expect it could also be written in a normal mathematical fashion.
  22. Their Christmas card is broken. They are post-incrementing, so the number that will be returned to you remains unchanged. Noobs.
  23. IPv4 addresses are unsigned 32-bit integers, so you should store them as unsigned ints, not as chars.
  24. You're arguing about future technology based on today's technology. I don't see how that makes for a convincing argument. It's like saying bullet proof vests cannot exist because e.g. Kevlar didn't exist 100 years ago. Anyway, radioactive "waste" is only radioactive because there is still energy potential in it. It is "just" a matter of figuring out how to better use it.
×
×
  • 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.