Daniel0
Staff Alumni-
Posts
11,885 -
Joined
-
Last visited
Everything posted by Daniel0
-
No... there could be reasons why you wouldn't want people to snoop around your stuff even though you are not doing anything illegal. Like for instance things that would be embarrassing, just guarding your private life, or protecting yourself from power abuse.
-
No one would pay for it, but it might come as a side-effect of something else you paid for
-
[SOLVED] Need help for a wordpress PHP (hope this is the right forum)
Daniel0 replied to baal's topic in Applications
Pseudo-code is code that's not indented to be actually used, but merely to show the concept of how things are done. This means you'll have to adapt it to your specific problem. I haven't touched the Wordpress code before so I don't know how it works. Perhaps it would've been easier if I wrote my pseudo-code in English instead of PHP: -
Can't you just SSH into the server and install it via the package manager?
-
It just has to be present in the include_path. That's basically how you "install" it. For each project I prefer to give it it's own hostname and it's own VirtualHost in Apache. I just edit the hostfile and make something like e.g. dev.phpfreaks point to 127.0.0.1. Then I setup a new vhost.
-
[SOLVED] Need help for a wordpress PHP (hope this is the right forum)
Daniel0 replied to baal's topic in Applications
This is just some pseudo-code, but it should work: foreach ($comments as $n => $comment) { if ($post['user_id'] = $comment['user_id']) { $class = 'personal'; } else { $class = $n % 2 == 0 ? 'even' : 'odd'; } echo '<div class="' . $class . '">'; // etc. } Here $post is an array of the information about the post the comments belong to. $comments is an array containing all the comments of course. -
Never did, never will, and never was supposed to. Programs end when execution end. If you don't want them to end then you program them to not end.
-
You cannot do that. It seems it needs the path to the image on the disk. It's not asking for a URL.
-
Most of the topics in there weren't of OOP nature, instead of figuring out a way to prevent people from post in there regardless, we just decided to delete the forum.
-
It doesn't. A program closes when it ends. It's always like that.
-
It closes because the program ends. Logical, no? It's doing what you tell it to. You need to either open a console and execute the program from there or you'll need to put something in your program that'll prevent the program from ending.
-
add something to the freelance board
Daniel0 replied to ricmetal's topic in PHPFreaks.com Website Feedback
What exactly are you hoping we would do? -
[SOLVED] Whats the best way to copyright scripted work?
Daniel0 replied to Dogboys's topic in Miscellaneous
International copyright law dictates that you automatically have copyright to everything you create unless you explicitly forfeit that right by e.g. releasing it to public domain. -
What I meant was simply that your brain prioritizes an event where you burnt your finger on something higher than when someone gave you a hug. Even though the latter is a nice thing and you'd rather remember that instead, the former one is more important to your survival/protection so the brain's primitive way of working gives it a higher priority in terms of remembering it. Therefore, something you perceive as a bad thing will be easier to remember that something you perceive as nice. That's not necessarily that you "like" to observe the bad things though. I'm not a psychologist (or whoever studies such things), but it's just something I once read somewhere.
-
The brain is also wired to be able to remember bad things in favor of good things. This is a defense mechanism so you may better protect yourself from such things in the future. So I've read at least.
-
Great. Now we just need to wait 1,000 years for the various GNU/Linux distributions' repository maintainers to put it in there (*points at CentOS*).
-
Done. There is a report to moderator link you can use for these kinds of communications though
-
Actually, Jeff designed it. I coded it and I did indeed drop support for IE6. I'm not concerned about cutting out those users. They constitute 8.72% of our hits (see attachment) and even then they can still browse the forums and read the content on the main page though with a lower user experience. [attachment deleted by admin]
-
I thought the original hacker was a maker of small wooden things, like furniture? Through carving and hacking? That's where the surname comes from, I'm pretty sure Right, but it's easily concluded that it's not the case here from statements 1 through 5.
-
add something to the freelance board
Daniel0 replied to ricmetal's topic in PHPFreaks.com Website Feedback
I believe you can run disputes against a user with PayPal. Maybe that's worth looking into? -
add something to the freelance board
Daniel0 replied to ricmetal's topic in PHPFreaks.com Website Feedback
I'd like to reword this. Even if you proved that, the absolute ultimate action we might take would be banning said member. Also, I'd like to point out that you due to your registration on this forum have agreed to our Terms of Service thus agreeing that PHP Freaks cannot be held accountable for any content posted on these forums. -
add something to the freelance board
Daniel0 replied to ricmetal's topic in PHPFreaks.com Website Feedback
We will take action as soon as you can provide sustainable proof that he did in fact scam you.