Daniel0
Staff Alumni-
Posts
11,885 -
Joined
-
Last visited
Everything posted by Daniel0
-
X Y Coordinate grid, using PHP with data in SQL
Daniel0 replied to Admiral S3's topic in PHP Coding Help
I'm not really sure what you want the output to be. -
Yeah, I made that change today.
-
strtok($word, 'e'); No need for regex.
-
Try having a look at the "super models" when they aren't wearing make up, fancy clothes and haven't been fixed in Photoshop... Yeah, suddenly not so special anymore.
-
What do you think of the new look of these forums?
Daniel0 replied to smerny's topic in PHPFreaks.com Website Feedback
I've done a couple of changes to the layout: Made boxes look like [code] boxes (like before). Split replies/views into separate columns (like before). Removed SMF logo from header. -
How is this? [ot]Foo bar[/ot]
-
Windows 64bit PHP IDE?
Daniel0 replied to blueman378's topic in Editor Help (PhpStorm, VS Code, etc)
You would probably be able to compile some open source editors yourself which would give you a 64-bit executable. Is there any particular reason why you want that though? Windows's 64-bit builds can run 32-bit programs. -
Semi-off-topic: PHP is Turing complete, so yes, you can. Anything you could write in another programming language, you could write in PHP.
-
I'll have a look at doing that tomorrow. It should be a easy enough.
-
Notices aren't affected by E_STRICT, but E_NOTICE.
-
What do you think of the new look of these forums?
Daniel0 replied to smerny's topic in PHPFreaks.com Website Feedback
Yeah that's a general problem. I remember making it larger every single time we've upgraded. Edit: Made it larger now (clear cache). Better? -
can someone hack my site... dont break it though!
Daniel0 replied to zulugogogo's topic in Beta Test Your Stuff!
Topics in this board a moderated. This means a staff member has manually approved this topic. -
Anyone can make an RFC, so it's not certain that it'll be implemented at all.
-
There is an RFC for it: http://wiki.php.net/rfc/propertygetsetsyntax
-
Oh, seems like I misread his post. Sorry.
-
You can also do this: $array = array_map(create_function('$a', 'unset($a["CNAME"]); return $a;'), $array);
-
I never understood why people would want to browse the internet using a gaming console. I'd prefer a real computer any time. Anyways, 0.01% of our users within the last 30 days used PS3 according to Google Analytics.
-
You must have used a different version than I did. I had no problems whatsoever.
-
The internet was invented in a time where everybody who was on it would be able to know who everybody else were in real life. If you want to keep people out, use whitelisting instead of blacklisting, otherwise it's impossible. Consider this: Which place do you think it's most likely that some random trouble maker starts a fight? 1) The local pub/nightclub that everybody can get into (possibly with a door man checking against a quarantine list). 2) The closed party requiring invitations and with door men checking for invitations.
-
If you get a lot of UAC prompts in Vista after you're done setting up your stuff either: a) You're doing something wrong. b) The applications you use are poorly written or old. Normal day to day usage shouldn't require superuser privileges. There is no reason why a game should require you to be admin for instance. That the game devs disregarded that is hardly Vista's fault.
-
Not definitely. You could just program the proxy to act like a regular client without providing any information that reveals it's a proxy. Even so, banning with the sole reason of using a proxy is ridiculous.
-
I don't see how it would be possible not sending an IP address though. The server has to send the response somewhere.
-
Added.
-
This just popped up on internals. It might be related. http://news.php.net/php.internals/46114
-
It should still be set to E_ALL on your production server. You would want your errors to get in the error log. If you disable error reporting it'll just fail silently. What you want to do is set display_errors=off so they won't get printed to the screen.