Daniel0
Staff Alumni-
Posts
11,885 -
Joined
-
Last visited
Everything posted by Daniel0
-
You can only assign a constant as default argument value. You can, however, do something like this: public function f2($parameter1 = null) { if ($parameter1 === null) { $parameter1 = $this->v1; } return true; }
-
You could also implement a simple shifting like the XOR cipher.
-
Yeah well, if you add php to the search query you'll get: http://www.phpclasses.org/browse/package/2874.html
-
http://en.wikipedia.org/wiki/Haversine_formula That will give you the distance between two points on a sphere, so you just select points that are do not have a greater distance from your initial point than the length of your radius.
-
http://www.google.com/search?q=optical+character+recognition
-
Wouldn't this be fairly simple to code? Have a function that crawls a page. This function finds all the anchor elements and if the href attribute is an address on the same domain it will call itself recursively. Do some regex shit in that function as well.
-
Link: http://www.phpfreaks.com/forums/index.php/topic,254277.0.html
-
Bug? Escaping lost during post edits.
Daniel0 replied to Psycho's topic in PHPFreaks.com Website Feedback
See screenshot. [attachment deleted by admin] -
Bug? Escaping lost during post edits.
Daniel0 replied to Psycho's topic in PHPFreaks.com Website Feedback
Are you using the quick edit or full edit? -
Added. CV, the smiley directory is not writable, so you'll have to login and change the permissions or use wget to download it as root. I'm afraid neither is possible for you.
-
You can get it using substr($name, 0, 4); substr
-
You can do like this: <button type="submit"><img src="image.png" alt="Search"></button> Or you can replace the button with an image using CSS.
-
It'll scroll if the text overflows, exactly like it says it does. It would essentially be the same as the code boxes here. Examples: Horizontal only: laksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj l Vertical only: aasdasdasd asda sda sd asdasd adaasdasdasd asda sda sd asdasd adaasdasdasd asda sda sd asdasd adaasdasdasd asda sda sd asdasd ad Both: laksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj l laksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj l laksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj l laksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj l laksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj l laksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj l laksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj l laksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj l laksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj l laksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj l laksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj l laksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj l laksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj l laksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj l laksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj l laksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj l laksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj l laksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj l laksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj l laksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj l laksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj l laksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj l laksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj l laksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj l laksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj l None: hello world
-
Though he said he wanted the 5x5x5x5 returned, not 3125. You can do echo join('x', array_fill(0, 5, 5)); By the way, I hate that notation. You can't tell if it's supposed to be 3125 or 3125x4
-
For the scrollbars, set overflow:auto; and a max-height. You can get syntax highlighting using highlight_string.
-
The reason why anyone can edit it is also why it has zero credibility in the academic world. There it's pretty much a requirements that you accurately can reference to an author, but if 100 people have edited a document, who wrote what? Maybe you should explain how you're having trouble finding stuff on the main site? There is a horizontal navigation bar saying Tutorials, Blogs and News. That is primarily what is offered there at the moment. There is also a search box on that same bar so you might search for regex and immediately find our regex tutorial. Unfortunately, only a small subset of our users are interested in actually helping other people. Most people just come, ask one or two questions and then never return (unless they again have a new problem). Then there are people who do want to help, but who don't know what they're talking about. It's easier giving write permissions to people who are qualified than banning people who are not from writing.
-
[SOLVED] Revenue idea for phpfreaks (The first one)
Daniel0 replied to dreamwest's topic in PHPFreaks.com Website Feedback
I never even knew they had a subscription type thing. How would one subscribe? I'd imagine not too many people subscribed though or even not that many people even knew such a feature existed! In your profile and in a sticky topic in this board. http://www.phpfreaks.com/forums/index.php?action=profile;area=subscriptions -
[SOLVED] Revenue idea for phpfreaks (The first one)
Daniel0 replied to dreamwest's topic in PHPFreaks.com Website Feedback
It's still right here in this very board. If people don't want ads, but still want to support us they can do a donation. In return ads are hidden for them for some time if they use the subscription feature. Either way that was never for monetizing either. It was for covering costs of keeping this place up. You can have a lot of volunteers, but things like hardware, bandwidth and electricity cost money. -
Well, yeah, but that's not really relevant. Those are not physical, biological differences. Things like that will always weigh in (heaviest of all, usually) when deciding who is "superior." I think we're pretty much saying the same thing here. What I mean is that in terms of "racism" (not just restricted to biological race here) will/can exist regardless of the existence of biological races in the human species. Whether you base the FUD/hatred on race or on any other factor doesn't really matter. Because races within same species by definition can cross-breed it would be possible transferring certain genes (and thereby the wanted traits) by biologically engineering the organisms. We've been doing this with plants since the dawn of agriculture using old fashioned evolution. Today we have more sophisticated methods for selectively picking certain traits. We can for instance make tomatoes that when they're ripe will take longer time before the skin starts to wrinkle. The only reason why we haven't attempted doing this on humans, at least within public knowledge, is because of ethics.
-
Sure, but you can always make up any arbitrary and irrational reason why you would be better than someone else. Religion, culture, ethnicity, etc. Even if races existed among humans, how would you objectively setup superiority criteria? It depends on what qualities you regard as most important.
-
[SOLVED] Revenue idea for phpfreaks (The first one)
Daniel0 replied to dreamwest's topic in PHPFreaks.com Website Feedback
Kind of goes against the concept of free knowledge sharing that we are operating with though. Again, we're not in this for the money. We just want to cover our expenses and to my knowledge that is fully accomplished by displaying advertisements. -
Ah... conspiracy theories. They're always interesting I guess.
-
Hmm... http://www.cartage.org.lb/en/themes/Sciences/Lifescience/HumanRaces/BiologyRace/BiologyRace.htm http://serendip.brynmawr.edu/biology/b103/f00/web2/ramon2.html
-
[SOLVED] Revenue idea for phpfreaks (The first one)
Daniel0 replied to dreamwest's topic in PHPFreaks.com Website Feedback
Most likely very outdated though. -
Haskell doesn't have any loops.