Daniel0
Staff Alumni-
Posts
11,885 -
Joined
-
Last visited
Everything posted by Daniel0
-
I would say this forums is doing quite fine despite the fact that we didn't create it.
-
We can't really tell you how you would make those sites. There are literally hundreds of ways you could do it.
-
If your application is fundamentally differently designed, doing what I wrote in the tutorial is obviously not an option. It will only work when you route all requests through one file. Take this URL for instance: http://www.phpfreaks.com/tutorial/php-security There is no folder called tutorial and and no folder/file called php-security.
-
How to call __construct() in a class by a variable
Daniel0 replied to RoBiNp's topic in PHP Coding Help
You cannot return a value from the constructor. You can use the __toString() magic method though. When you try to echo an object (or otherwise represent the object as a string), that function will be called. -
Because your server's clock is running behind or because your server is in another time zone than you are.
-
How to call __construct() in a class by a variable
Daniel0 replied to RoBiNp's topic in PHP Coding Help
You usually shouldn't call it manually. It's called upon instantiation automatically. -
Well, then check at website <> as well...
-
[SOLVED] Revenue idea for phpfreaks (The first one)
Daniel0 replied to dreamwest's topic in PHPFreaks.com Website Feedback
It's in the mugshots thread in guru. -
usort If you get the info from a database, it would be better to sort it using the query though.
-
It differs depending on where you look. Google Analytics says 620,265 page views the last 30 days. Awstats says 2,033,036 page views last month. Forum stats says 3,863,662 page views hits last month. Awstats reads directly from the Apache access logs, so I trust it the most.
-
Halo 3 Saved Film HD Recording Service - Testers Needed
Daniel0 replied to HaLo2FrEeEk's topic in Beta Test Your Stuff!
That doesn't make sense. Did you read the topic before replying anyway? Yeah I just wanted to see how halo2freak would respond. LOL Well, in that case it's trolling and a violation of our rules. -
[SOLVED] Revenue idea for phpfreaks (The first one)
Daniel0 replied to dreamwest's topic in PHPFreaks.com Website Feedback
I think it looks a bit like Eric. -
http://www.microsoft.com/australia/ie8/competition/default.aspx
-
Halo 3 Saved Film HD Recording Service - Testers Needed
Daniel0 replied to HaLo2FrEeEk's topic in Beta Test Your Stuff!
That doesn't make sense. Did you read the topic before replying anyway? -
How is that not real advantages? Anyway, it just shows that you are pretty much ignorant about all this. If you want to talk Windows, we can do that. You mentioned Windows Update yourself. Other new things include speech recognition for physically impaired people, parental controls for, well... parents, instant feedback searching, and several other things. Shadow Copy for file rollbacks, Security has been greatly improved as well. For instance the BitLocker encryption for full-disk encryption, outbound protection in the firewall, IE runs sandboxed, and programs are by default running as unprivileged users. There is also support for IPv6. Overall the kernel was improved. The UI was also improved. The "Favorite Links" pane and breadcrumbed directory path makes for faster navigation. There have been a lot of kernel level enhancements as well, and boot time is generally faster. The networking center is far superior to XP's network management capabilities as well. Windows 7 brings further enhancements, especially in regards to HCI and performance/stability. Maybe you would want to educate yourself before making statements like that. This was just (a tiny bit of) Windows. Linux and OS X have seen considerate improvements over the years as well. Well, FF3, besides being faster, has numerous improvements over FF2. For instance, I have over a thousand bookmarks, and the improved support for that is invaluable to me. Access via address bar, tagging, etc. Both IE8 and FF3 have speed improvements, security improvements and support a wider range of standards overall, which enables creative people (i.e. not you apparently) to use the web in an increasingly innovative manner. XHR, one of the most widely applied techniques on modern web pages, was born in relation to the first browser war, which was largely a feature race. Just to give an example. Tab isolation in Chrome and IE8 improves stability and security. I don't know about IE, but Chrome gives RAM back a tab process uses when you close it. Firefox could really use something like this. You may have had your browser open for several days straight and even closing all tabs won't give you the RAM back. You will have to close it back entirely. It turns out that it's easier to manage the RAM in a multi-process browser because each tab has it's own memory namespace. No, not really. It's because you fail to see that progression is a graduating process. Rarely is it because of major breakthroughs. Had there been no competition, then there would be no incentive to improve your current product. Why would you? It works just fine as-is. Well, a lot of creative people have created addons to Firefox that I use often or even on a daily basis for instance. Firebug, Firecookie, FirePHP, YSlow, Xmarks, Adblock Plus, IETab, Better GMail 2, Better GReader, Better Privacy, Customize Google, Download Helper, DownThemAll!, FaviconizeTab, Live HTTP Headers, NoScript, Status-bar Scientific calculator, StumbleUpon, Tamper Data, Textarea Cache, User Agent Switcher, Web Developer Toolbar. Moreover, the other day Firefox used up 850 MB memory. I would certainly think that's where there could be made improvements for instance. As for web innovation. Have you taken a look at Google Wave or maybe Opera Unite?
-
http://www.php.net/manual/en/language.types.string.php#language.types.string.syntax.heredoc
-
I don't know. Why would you need anything else than a horse wagon? I mean, it takes you from A to B... You know what? Screw the 18th-19th century industrialism. We should have never progressed past growing crops by manual labor. It worked just fine for thousands of years after all. Now get back to the field, peasant, or off your head goes. Print out this page, store it somewhere safe where it won't get lost or forgotten. Now look at your above statement in 20 years and see if it holds up. Or maybe just compare state of the art technology from 20 years to even mid range modern technology. Better yet, don't upgrade anything on your computer for the next 20 years. If your computer breaks, get one with the specs you have now. How about late 90s computer games? Take the most graphically advanced game from back then. At that time you would be like "dude, this looks amazing", but install it today and you will think "this looks like a piece of shit".
-
It's not pointless at all. Competition spurs innovation and rapid improvements. It ensures that nobody is dragging their feet. Microsoft didn't bother fixing their browser until someone started posing a serious threat to their market share.
-
Well, an offline website would be redundant. That's for sure. I'd go with an online one as well.
-
I think that's an excellent analogy.
-
No worries. I think you used [pre]. I didn't even know that was a valid bbcode. It didn't wrap at the end of the line, so it resulted in horizontal scrolling.
-
So something like this: RewriteRule ^(.*)\.html?$ $1.php [NC,QSA] That'll rewrite both .htm and .html to .php.
-
You might also want to use the QSA flag to "transfer" the query string as well.
-
Lol... just found this: http://kilianvalkhof.com/ie8fun/ Hmm... the Google Ad on this page says "Get Google Chrome - A free web browser built for speed, stability and security"