When do I use the $_SERVER[‘SCRIPT_URL’] global variable?
I have been trying to get the /forgot_password part from the url https://lucasfrank.devlock/forgot_password?done=1. I created the function below:
I have been trying to get the /forgot_password part from the url https://lucasfrank.devlock/forgot_password?done=1. I created the function below: