I'm getting awful lot of spam to my forums where only registered users can post and captcha is in use. What could we best solution to stop spammers registering to my forums?
I'm not sure if this is the right place to post this, but the problem actually belongs to a programming assignment.
Solve the recursion:
T(0) = 2;
T(n) = T(n-1) + 2;
Solution:
T(n) = 2(n+1)
Could someone please show me how they got to that solution?
I've got a couple of different projects that I'd like to post up as open source. I've been trying to decide which of the three big open-source project hosting sites makes the most sense, or if I should just host it myself.
Are there any inherent drawbacks or benefits to these three? Is there a "best" place to host a project? Do different sites make more sense for different kinds of projects?
There are great .NET libraries and components. What is, for your opinion the most useful, effective, well wrriten open source C# library you've ever seen?
Mines, is the great Html Agility Pack.
Please post one library per answer.
Hello, before posting I want to tell you "Sorry for my English".
I've got a problem with JQuery. http://socialworld.den-style.net/ if you click "Nascondi" under the Logo you will see that the #post go to the right and then "comes back" to its old position.
How do I can fix this error? Thanks a lot.
So my question is: what is the best (in your opinion) IDE colors for C# developers ?
My IDE now looks like this (link to blog post), but I'm kinda tired of it.
Any Suggestions? Recommendations?
function checkLength(obj,url){
//alert("URL="+url+" OBJ="+obj);
if(obj) {
var params = 'query='+obj;
var myAjax = new Ajax.Request(url, {
method: 'post', parameters: params, onComplete: loadResponse
});
}
}
is nor working why
i think there is requirement of include some files in it.which is that??/
I have some code like this
function doSomething(){
Jquery.ajax(type: "POST",
url: "HelloWorld",
success: function (msg) {
if(msg.d =="Hello World")
{
return true;
}else
{
return false;
}
}
);
}
i want to know something based on which the return value of the succes function.
Can somebody help?
While validating this snipit:
<script type="text/javascript" charset="utf-8">
/* <![CDATA[ */
jQuery.post('http://domain.com/dev/wp-admin/admin-ajax.php', {action: 'wpp_update', token: '2e85204387', id: 214});
/* ]]> */
</script>
I am getting the validation error: "Element script is missing required attribute src."
The page has an HTML5 doctype and is encoded as utf-8.
Ptterb can you post your full code please?
I copied your code.
Added fvidscale_cap to pipeline, with:
self.player.add(self.source, self.scaler, self.fvidscale_cap, self.sink)
gst.element_link_many(self.source,self.scaler, self.fvidscale_cap, self.sink)
From the main program I create a new QWidget, and pass its winId() to Vid constructor.
The widget start loading, but crashes.
The output says:
should be playing
Segmentation fault
Could I use urlize filter in this way? :
from django.utils.html import urlize
def save(self, force_insert=False, force_update=False):
self.body = urlize(self.body)
super(Post, self).save(force_insert, force_update)
body is a TextField.
How do I create a partial view that has a form with assigned id?
I got as far as:
using (Html.BeginForm(?action?,"Candidate",FormMethod.Post,new {id="blah"}))
Partial view is used for both Create and Edit so first parameter ?action? will be different. I can't figure out what value of ?action? supposed to be
I'm using ExtJS on a registration page which should have no effect on this.
<form name="registerform" id="registerform" method="POST" action="registerProcess.php">
I have that form and the javascript
document.registerform.submit()
will not submit the form.... any ideas?
I load jquery into my greasemonkey script and when the user clicks the start button the script makes a bunch of ajax calls. I then empty body and append data. When i click on something and hit back instead of getting the page post script i lose all the data and need to run the ajax calls again (it can take seconds to run). How do i make it not lose the changes?
I saw it's possible to speed nh app with configuration serialization (e.g. http://www.lucisferre.net/post/2009/06/18/Speed-up-nHibernate-startup-with-object-serialization.aspx). Is it pssible to serialize nh configuration in medium trust env. ?
the problem is that
1)how can i come to know that the ajax is working properly?.
2)and how can i retrieve this sent data in controller in cakephp?
function checkLength(obj,url){
alert("URL="+url+" OBJ="+obj);
if(obj)
{
var params = 'query='+obj;
var myAjax = new Ajax.Request(url,{method: 'post',parameters:params,onSuccess: loadResponse});
}
In PHP you can create form elements with names like:
category[1]
category[2]
or even
category[junk]
category[test]
When the form is posted, category is automatically turned into a nice dictionary like:
category[1] => "the input value", category[2] => "the other input value"
Is there a way to do that in Django? request.POST.getlist isn't quite right, because it simply returns a list, not a dictionary. I need the keys too.
I've never built a ff extension before and before I start I want some feedback on my idea to make sure its possible.
I want a firefox extension that allows me to supply a url with parameters in GET format, the extension would take the url, parse it, and submit the request as POST rather than GET.
Is this possible? and could someone give me some advice on how to start designing an extension? or point me at a tutorial?
RestClient.post("auth/login/", loginparam, new AsyncHttpResponseHandler() {
@Override
public void onSuccess(String s) {
Toast.makeText(getApplicationContext(), String.valueOf(s.toLowerCase().equals("ok")), Toast.LENGTH_LONG).show();
if (s.equals("ok")) {
startActivity(new Intent(getApplication(), HomeActivity.class));
}
}
});
This is the code I used for login in android app, In the Toast text, I can see the server did returned "ok", but s.equals always failed in my case, can someone explain that? Thank you.
This happens only with Google Chrome and Safari. This is the page in question:
http://jqeedu.tuxfamily.org/pmr/
After opening the landing, click on post your apartment, a form is loaded via ajax, and the page automatically scrolls to the bottom and if you scroll up, it returns to the bottom again!
What is causing this?
I'm looking for a regular expression that can extract the href from this:
<a href="/tr/blog.php?post=3593&user=930">
There are hundreds of links on the page so I need to extract only those that contain
/tr/blog.php
So in the end I should be left with a list of links that start in /tr/blog
Thanks for any help. It's really puzzling me.
What is exact meaning of this statement...
VERIFY THE PARAMETER VALUE ARE IN THEIR EXPECTED RANGE AND TYPE.
I am passing values in POST method through URL in php.
Hi,
I create the wordpress site that works fine locally when i upload to server the tiny mce is
not working,i can not edit or add any content to the post.
Thanks in Advance
Have Dream Day
How can I protect an ASP Classic page with either HTTP AUTH (you must provide a username and password to service) or a randomly generated access key that will be included as one of the parameters of the HTTP POST using the variable name access_key.
Can anybody provide asp classic code in this regard?
Quick help will be appreciated...
PS: OrderGroove is a 3rd party service... neglect it.
I have a registration form that collects several parameters.
i need to pass all these AND a confirmation code (generated by the controller) to the model for inserting in the DB.
How can I do that?
is there a way to pass the whole post to the model, eg like
$this->model->insert($this->input->form(), $confirmation_code)?