Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

78
Views
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
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!