Daniel0
Staff Alumni-
Posts
11,885 -
Joined
-
Last visited
Everything posted by Daniel0
-
Rather, reCAPTCHA is dirty...
-
Just say that after something like 30 days then it's not considered "new" anymore. Then store read info for all people in the database and delete it after 30 days.
-
What does it take to be called a MVC Framework
Daniel0 replied to Liquid Fire's topic in Application Design
To be called an MVC framework then you need to be a framework that uses the MVC design pattern... -
You can use strtotime(). You could also split it up using explode() and insert the various values into mktime(). Either of those two will give you a Unix timestamp. Then you just need to format it using date().
-
What do you mean with "correct ID"? It's standard practice not to reuse IDs because they're supposed to be unique.
-
You should just do utf8_encode($link); The "string" part is just for specifying datatypes. It means that the $link argument should be a string and that the function will return a string value.
-
Well, yes. Just do class global { static public function getEnum($string) { return $string; } // etc. } echo global::getEnum($string); I assume this is sort of what you need. If that's the case then you might want to look into PHP 5.3.0's namespaces: http://php.net/namespaces Edit: Wait... global is a reserved keyword so you'll have to find another name. You could just use the plural, i.e. globals.
-
<input type="checkbox" name="Receipt_Issued" value="1" <?php if ($issued) { echo 'checked="checked"'; } ?>/> Something like this.
-
Dates messed up on main site profiles
Daniel0 replied to DarkWater's topic in PHPFreaks.com Website Feedback
Man I completely forgot about this. Anyway, it's been fixed now. -
No. I wrote it from scratch.
-
Just out of curiosity why hasn't PHPFREAKS bridged their forums to the main site, so you only have to login once? Tell me how SMF determines whether you're logged in or not and I'll do it. I tried figuring it out, but the code was so horrible I gave up. You can't just jump into SMF's code and figure something out if you don't already know something about SMF. They use globals all the time and it's really difficult figuring out what it is and where it comes from.
-
[SOLVED] More visible TOPIC SOLVED button
Daniel0 replied to Maq's topic in PHPFreaks.com Website Feedback
It's called Firefox. I thought you were a diehard Opera user. -
Keyword stuffing is colloquially known as a "blackhat SEO technique" (derived from "blackhat hacker") and may ultimately result in getting banned by the search engines.
-
I don't really care what software people use as long as they keep it updated. Personally I don't care if they use Internet Exploder as long as they keep it updated. In that way we'll only have to support one version. There are also differences between Gecko's, Presto's, and Webkit's rendering so I don't think it's a big deal that Trident's rendering differs as well. In fact, if you try too hard to make me change my choice of software then I'll like that piece of software even less. I'll use whatever I want and I'm quite sure most other people have that opinion as well. If people can present valid reasons why something is better than what I use and I don't see any major drawbacks then I might change, but I don't change just because someone says "omg u r using <insert software> lol..!!11one! u is noob wtflol!!".
-
Its password is just locked. You can "enable" it by using passwd to set a password for the root user. You can also get a root session by typing sudo -i
-
Hmm... yeah. I've turned off all CATPCHAs for the time being.
-
[SOLVED] More visible TOPIC SOLVED button
Daniel0 replied to Maq's topic in PHPFreaks.com Website Feedback
Considering there is a sticky topic instructing people about it and there usually are other solved topics with green background, a prefix, and an icon, I'd say it's pretty obvious that a such button exists. Besides, the other moderation buttons are at the bottom as well. -
Dates messed up on main site profiles
Daniel0 replied to DarkWater's topic in PHPFreaks.com Website Feedback
Ah damn... 2008-10-12. Why can't Zend_Date figure out by itself that it's ISO 8601 without me having to explicitly tell it? I'll fix it later. -
I suppose we can let this topic go on...
-
CATCHAs are meant to ensure that the user is a human. Trying to do it with a computer is circumventing the system. We'll not help you break rules on other sites. Topic locked.
-
Are you serious? Wow, what losers. o_O I don't know how they manage to host that site on Windows. In my book such comments make you stand out as a fanboy looser. Just sayin'
-
Try to buy one and write a script that keeps using diskspace until it reaches 100 TB. I guarantee you that you will not get near 100 TB.
-
No, no Photoshop forum. Then someone will ask for Gimp, Paint.NET, Illustrator, Flash, Flex, etc. If you need help with Photoshop then you can use misc. This is a PHP site.
-
Actually, a group can be four things: - Private (Membership must be assigned) - Requestable (User may request membership) - Free (User may leave and join group at will) - Post Based (Membership based on post count) There doesn't necessarily have to be any "user moving" going on. I still don't see the point because you can't see it on the profile anyways.
-
It'll just clutter up the system. Your secondary groups are not visible from your profile anyways. There are things called "custom profile fields" though. That could possibly be used for such things.