Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

87
Vistas
Getting 403 error while making ajax request in jQuery

I'm getting a 403 error while making an AJAX request to a php page of my own website.

This is the error:

"jq.js:663 POST https://playonlineloto.com/backend/cstatus.php 403"

I'm using jQuery to make the request. The code is:

function status() {
            var table = document.getElementById("table").value;
            var name=document.getElementById("username").innerHTML;
            var card=document.getElementById("card").innerHTML;
                var dataString = "table=" + table+"&name="+name+"&card="+card;
            $.ajax({
                    type: "POST",
                    url: "cstatus.php",
                    data: dataString,
                     
                    cache: false,
                    success: function(html) {
                       
                       if(html=="no"){
                           
                       }else{
                         console.log("kicked out");  
                         console.log(html);
                          var kick = document.getElementById("kick");
                          kick.style.display="block";
                       } 
                    }
                });
        };

and I'm requesting from this url

https://playonlineloto.com/backend/custom-game.php?val=1&table=U7Gh8c7f6&admin=yes

My files have enough permission. Please help me!!

about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda