2d
comment Zeering.com profiting from Stack Overflow
From a resource management point of view they should probably block sites embedding their content to avoid having to deal with the extra traffic, but I'm not even sure they should do that because in the end they are promoting SO, and most of their users will end up here, were the fresh answers are cooked and delivered hot... Who wants to be fed stale content?
2d
comment Zeering.com profiting from Stack Overflow
If it's just a copy I doubt very much it competes with SO in any way. You'll end up in SO because search engines are built like that. Or you'll figure it out by yourself, if you have to. Competitors are good and help the site to thrive and get better. Even bad competitors are good. If it's a useless site, why care? It'll fade away by itself. There's no downside, and in this particular case no threat to SO's business.
Oct
16
comment Zeering.com profiting from Stack Overflow
Guys, you don't seem to get it: This is not bad, this is awesome. I'm just happy that the content gets copied and distributed. I don't work for stackoverflow. If any other site distributes my work they deserve the profit, and of course the product of my work I give for free to the general community of programmers who freely share so much knowledge with me, not the stack exchange community per se.
Oct
16
awarded Excavator
Oct
16
revised JSF to receive POST parameters
added 21 characters in body
Oct
14
accepted Access previous/next item when iterating over a ListDataModel using JSF 2 facelets <ui:repeat> tag
Oct
10
comment Access previous/next item when iterating over a ListDataModel using JSF 2 facelets <ui:repeat> tag
That's very clever, thanks for the tip :-) I ended up building a loop of elements inside a loop of categories, to keep things clear and simple. I'm not happing adding the overhead of building the required ArrayList of ArrayLists, but it's only once per session over a pretty small list, so I hope it won't have much of an impact..
Oct
9
revised Access previous/next item when iterating over a ListDataModel using JSF 2 facelets <ui:repeat> tag
added 285 characters in body; edited title
Oct
9
revised Access previous/next item when iterating over a ListDataModel using JSF 2 facelets <ui:repeat> tag
added 285 characters in body; edited title
Oct
9
revised Access previous/next item when iterating over a ListDataModel using JSF 2 facelets <ui:repeat> tag
edited tags
Oct
9
asked Access previous/next item when iterating over a ListDataModel using JSF 2 facelets <ui:repeat> tag
Oct
8
comment print category name for a particular post in wordpress
Your're welcomed :-) The code I've posted should get you the category names of the current post, separated by spaces, inside the figure tag class attribute. I've edited my answer to use the_category, but you can use get_the_category too (as I was doing on previous edits) and loop through the array of post categories, getting the id of each one, the name, or whatever you want.
Oct
8
comment print category name for a particular post in wordpress
echo the_category(' '); will do (you cannot separate css classes with commas)
Oct
8
revised print category name for a particular post in wordpress
added 56 characters in body
Oct
8
answered print category name for a particular post in wordpress
Oct
8
reviewed Approve suggested edit on print category name for a particular post in wordpress
Oct
6
awarded Disciplined
Oct
6
comment Include a $user.txt in php
Now I see the question is unclear about the file being sent "And the results (including the file) comes in the same page" (I thought the results of sending the form). I also see it isn't clear either about the origin of the file: "comes with the form" (I understood comes with the form on the request, along with the form input data). Either way, you provided the answer the OP was looking for and I didn't downvote it. In fact, you have my upvote :-)
Oct
5
comment Include a $user.txt in php
+1 to that. User input can very easily go wrong, and file uploads are particularly tricky. Sorry for the wall of text I wrote, but even after such an extensive answer I feel like I've left out some important things behind ^^'
Oct
4
comment How to get rid of duplicated lines in SQL Cross Join Query result?
and ABS(p1.psn_age - p2.psn_age) <= 5
1 2 3 4 5