Spam prevention – Let spambots send the form successfully?

I am about to configure my HTML forms so that spam robots are caught and rejected.

I wonder .. Let's say that a spambot submits the form in a way that is not accepted.

Should I then leave the page with the form as it is, displaying the errors?
Or should I let the page change and not display the form?
(failure / success reporting).

If I let the spambot stay on the form page, it can more easily submit and try continuously with different data.

If I show the page displaying an error (maybe with a defined error header) but no longer the form, how would most spambots react to this?

When would he probably try again or leave the site?

What is the best way to report a bot about falling into traps?

Google has successfully indexed my sitemap, but displays 0 discovered URLs. How can I fix it?

About two weeks ago, I submitted my sitemap to my site's webmaster Its indexing was successful, but no unique URL was found. It shows 0 now. Three weeks have passed, but nothing has changed. I manually indexed each message.

Google has successfully indexed my sitemap, but the URLs have been discovered.

I recently about two weeks ago submitted the sitemap in my site's webmaster and its success index but there is no single URL discovered about its shows 0 now 3 weeks ago but nothing changes i have indexed my each post manually please help.

php – load BD successfully from ajax (pass a JSON)

I have a json that i intend to browse ajax to a file php, and in this my database is loaded, passing each element of the file json as a new row in the table.


    var data = { 'data': JSON.stringify(arrayEventos) }

        type: 'POST',
        url: 'ajax/turnos.ajax.php',
        dataType: 'json',
        data: data,
        success: function(data, status, xhr) {
            alert("response was " + data);
        error: function(xhr, status, errorMessage) {
            $("#debug").append("RESPONSE: " + xhr.responseText + ", error: " + errorMessage);

value of what I'm going through ajax

data = ({"title":"Agustin Guerra","start":"2020-03-13T09:00:00","end":"2020-03-13T10:00:00"},{"title":"Mariel Guerrieri","start":"2020-03-13T11:30:00","end":"2020-03-13T12:30:00"})

php where i get the variable data


        $respuesta = ModeloTurnos::mdlActualizarTurnos($datos);

        return $respuesta;



        $turnos = new AjaxTurnos();
        $turnos -> data = $_POST("data");
        $turnos -> ajaxActualizarTurnos();

php which saves in the database

static public function mdlActualizarTurnos($datos){

    $tabla = "turnos";
    $stmt1 = Conexion::conectar()->prepare("TRUNCATE $tabla");

    $stmt = Conexion::conectar()->prepare("INSERT INTO $tabla(datos) VALUES (:datos)");

    $stmt->bindParam(":datos", $datos, PDO::PARAM_STR);

        return "ok";
        return "error";

    $stmt ->close();

    $stmt -> null;

What happens to me is that ALL the content of the data variable is saved in the database on one line:

ID:1 | DATOS: ({"title":"Agustin Guerra","start":"2020-03-13T09:00:00","end":"2020-03-13T10:00:00"},{"title":"Mariel Guerrieri","start":"2020-03-13T11:30:00","end":"2020-03-13T12:30:00"})

When what I need is that it is saved as follows:

ID:1 | DATOS: {"title":"Agustin Guerra","start":"2020-03-13T09:00:00","end":"2020-03-13T10:00:00"}
ID:2 | DATOS: {"title":"Mariel Guerrieri","start":"2020-03-13T11:30:00","end":"2020-03-13T12:30:00"}

I tried to put a foreach in it ajax.php but i have not been successful, any suggestion is welcome.

jsom – Why does my oListItem.get_id () return -1 even if executeQueryAsync successfully created a list item?

I have created a function which adds an oListItem with a few search columns as shown

    function on_click(){
        console.log("creating new assessment")
        var siteUrl = _spPageContextInfo.webAbsoluteUrl;
        var clientContext = new SP.ClientContext(siteUrl);
        var oList = clientContext.get_web().get_lists().getByTitle('AssessmentAnswersList'); 

        var itemCreateInfo = new SP.ListItemCreationInformation();
        var oListItem = oList.addItem(itemCreateInfo);

        var lookupCourse = new SP.FieldLookupValue();
        var lookupTrainee = new SP.FieldLookupValue();
        var lookupAssessment = new SP.FieldLookupValue();
        lookupCourse.set_lookupId(48); //selected ddl value
        lookupTrainee.set_lookupId(1132); //selected ddl value
        lookupAssessment.set_lookupId(21); //selected ddl value
        oListItem.set_item('Title', "Course Assessment Results"); //input val()
        oListItem.set_item('CourseName', lookupCourse);
        oListItem.set_item('AnswerBy', lookupTrainee);
        oListItem.set_item('AssessmentTaken', lookupAssessment);
        oListItem.set_item('TotalScore', 0); //input val()
        oListItem.set_item('NoOfAttempts', 1); //input val()

        console.log("Saving assessments...")


        clientContext.executeQueryAsync(Function.createDelegate(onSaveSucceeded(oListItem)), Function.createDelegate(onQueryFailed));

    function onSaveSucceeded(item){
        var id = item.get_id();

        alert("Saved! The ID is: " + id + ' and ' + item.get_item('TotalScore'));
    function onQueryFailed(){

For some reason, onSaveSucceeded the functions item.get_id() always comes back -1, but when I check the list, the item has been created correctly. How to rectify this? I need the ID to continue treatment and I cannot understand why I am not receiving the correct ID.

amazon web services – Can I delete the snapshots and AMI in the zone zone after successfully copying the AMI in another zone?

I have created a FRIEND in an Asian area, ap-southeast-1.
The associated snapshot is saved and of course cannot be deleted.

I then copied this FRIEND to eu-west-1.

Can I somehow get rid of ap snapshots and FRIEND?
I noticed that the snapshot is also copied to the destination area, so it should be fine, but I can't find any documents about it.

unit – null reference on gameObject that was successfully referenced

It is exactly as the title says. I receive a null reference error even if I have correctly referenced the object. I have debugged my code to show that the result is still exactly what I need, but each time it is put into practice, the code returns an error.

                if(hit == true && canSee.transform.CompareTag("Unit"))
                    //var Obehaviour = other.gameObject.transform.parent.gameObject.GetComponent().Health; <--- Error is here.
                    float Health = other.gameObject.transform.parent.gameObject.GetComponent().Health;
                    float fullHealth = other.gameObject.transform.parent.gameObject.GetComponent().MaxHealth;
                    //Debug.Log("Object " + other.gameObject.transform.parent.gameObject);
                    //Debug.Log("Component and name " + Obehaviour.Name);
                    if(Health < fullHealth)
                        if(fullHealth - Health <
                            Health += Ubehaviour.supplyTransferRate;
                            Health = Mathf.Clamp(Health, 0, fullHealth);
                   -= Ubehaviour.supplyTransferRate;
                   = Mathf.Clamp(Ubehaviour.Health, 0, Ubehaviour.maxSupplies);


As stated in the code above, I tried to get the values ​​I need by storing them in variables other than caching the entire class. But it didn't work either. What's wrong? The debugging below also works perfectly.

How to successfully delete the class ** in c ++?

class vertice{
    int id;
    int juntadoCon = -1;
    ~vertice() {}

class grafoKarger{
    int nv;
    vertice **vertices;
        for(int i = 0; i < nV; ++i){
            if(vertices(i) != nullptr){
                delete vertices(i);
        delete ()vertices;

Destroyer does not work with ** vertices (pointer vector, no matrix)
To eliminate for example the class *, a simple delete () pointer is worth it, but here I tried both the delete vertices (i) and delete () vertices (i) loop and nothing
What am i doing wrong?

dnd 3.5e – Does a character know that he has eaten poison if he successfully saves courage?

Of Collection of rules

Success and failure

A creature that successfully rescues from an effect that has no obvious physical repercussions feels hostile force or tingling, but cannot deduce the exact nature of the attack.

So yes, someone who succeeds on their Fortitude saving throw should know that there was something "out" in the food, although they learn nothing more than that, so they wouldn't necessarily know if it was specifically poisoned, let alone with which poison.

This is a general rule, and it is possible that a particular poison indicates the opposite. However, unless the poison in question explicitly says so, the default is that someone can say it.

[ Politics ] Open Question: Did Nancy Pelosi Successfully Prosecute Trump Before Having A Reason?

Kind of like she passed the Obamacare bill before knowing what he was saying?