I am working on Rest Api and i am trying to use JWT Token,But whenever i test api in postman that time i am getting following error 403 Forbidden You don’t have permission to access this resource. Apache/2.4.46 (Win64) PHP/7.3.21 Server at localhost Port 80 I am following this link for integrate JWT Token https://onlinewebtutorblog.com/codeigniter-4-restful-apis-with-jwt-authentication/ ..
I am trying to get the username a user enters in an input box in a php file as a cookie, then in a JS file read that cookie and get the username. PHP <?php … print(‘ <div class="loginContainer">’ . "n"); print(‘ <label for="userNameBox"><b>Account Login: </b></label>’. "n"); print(‘ <input type="text" class="userName"id="userNameBox" placeholder="Enter Username" required="required">’. "n"); ..
I have been struggling a lot to make a script (for personal use) to login my chess.com account remotly, access my friends page and parse my friends list. Despite many tries, I am still stuck at the first step (login remotly to my account). I have created a test account on chess.com for the purpose ..
I have a web page with a table. In this table, you can see the name of a session and a button. The name of the session is retrieved by an sql query using PDO. Now, I want to be able to click that button next to it and then automatically go to another page ..
when i run the login the user it gives me invalid password and it ignore the if state how can i fix this problem authcontroller file this is my code that i want you to look in i i think that its right didnt find the error if you need more information i can provide ..
I have a file that checks if the user has the right to view and execute the page. However if I load the page directly without being logged in like this: http://example.com/delete.php?id=3 Then rest of the code is still processed and the product is deleted? Why is it processed if I have already redirected away ..
I have the /login/phone/@phone and /login/phone/@phone/@code endpoints in my API. When the user types in their phone number, a request to the first endpoint is made. This endpoint sends a code to the phone and the user makes a call to the second endpoint with the code, returning a JWT if successful. My social logins ..
In our app for our school project we’re sending the username and password entered by the user to our webserver (java to php) using retrofit. We know that our code in Android Studio is right, because we are able to insert data into our phpmyadmin database. However, we don’t really know how to check the ..
I wrote the code to log in php to the admin panel. Everything works as it should. But I am not sure if it is well written code and if it is safe. I care about security. I have read a lot about it but I am still not sure. Please, help me. <form method="post"> ..
I am trying to create a login system in MySQL and PHP with only codes, without an username. The password changes everyday, and it’s an equation based on the date. It is simple, day month year, the result is the password. I already created a system, but it’s completely manual, I have to access the ..