- Joined
- Jun 28, 2020
- Messages
- 85
Hi there,
I'm by no means a professional PHP developer but I was hoping that some of you could help me out, I'm willing to pay if required, hope someone can help out a friend for free
. Right now I have the following code: https://pastebin.com/LraQzy6g
Problem 1: The form <input> field is empty but every time you open or refresh the page it submits empty information.
Problem 2: My code is vulnerable to injections.
What I want to add:
1. Check if user already exists and redirect them to a URL
2. Check if user is banned (Banned = True) and redirect them to a URL
3. If the user is new, redirect them to a URL and store their data in the database.
I'm by no means a professional PHP developer but I was hoping that some of you could help me out, I'm willing to pay if required, hope someone can help out a friend for free
Problem 1: The form <input> field is empty but every time you open or refresh the page it submits empty information.
Problem 2: My code is vulnerable to injections.
What I want to add:
1. Check if user already exists and redirect them to a URL
2. Check if user is banned (Banned = True) and redirect them to a URL
3. If the user is new, redirect them to a URL and store their data in the database.