Daniel0
Staff Alumni-
Posts
11,885 -
Joined
-
Last visited
Everything posted by Daniel0
-
You wouldn't want to strip the tags. What if the user wants to talk about HTML like in this topic?
-
It was removed a couple of months ago. See: http://www.phpfreaks.com/forums/index.php/topic,273159.msg1290091.html#msg1290091
-
The spammers stole it.
-
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.
-
Actually, that will not work, cags. Using yours, Google will become <a href="www.google.com">Google</a> (it's missing the schema part).
-
Windows (local) / Linux (hosted) $_SESSION[] output inconsistency
Daniel0 replied to SpringVark's topic in Linux
This is because of magic quotes. -
Any reason you don't want to use ZipArchive in PHP?
-
No.
-
Database Design and segregation of reponsiblilites
Daniel0 replied to flash gordon's topic in Application Design
That's what aliases are for... -
What about when you right click on a textarea and select "Check Spelling" as well?
-
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.
-
Oh. Fixed.
-
Yeah, you see, "cool stuff" is pretty subjective. To me, "cool stuff" is theoretical stuff.
-
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
-
Yes you can. You may do it if you do not want it constructed outside an existing object of that type for whatever reason.
-
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.
-
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?
-
Uhm...
-
If your choice is between VB and Java, I'd say Java as well.
-
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.
-
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.
-
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.
-
Their Christmas card is broken. They are post-incrementing, so the number that will be returned to you remains unchanged. Noobs.
-
IPv4 addresses are unsigned 32-bit integers, so you should store them as unsigned ints, not as chars.
-
Rising of oceans now apparently caused by god's tears..
Daniel0 replied to 448191's topic in Miscellaneous
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.