I want to get the TOKEN from the URL bar and name it in an echo. How can i do this?
I have tried:
$GET['Token']
http://forexample.de/getsharelink.php/TOKEN=d5bETQi8Iwe6G8tcIlWp
I want to get the TOKEN from the URL bar and name it in an echo. How can i do this?
I have tried:
$GET['Token']
http://forexample.de/getsharelink.php/TOKEN=d5bETQi8Iwe6G8tcIlWp
Assuming you're trying to get it in PHP, the URL parameters are case sensitive, so it would be: $_GET['TOKEN']
For the parameters, your URL needs to separate them from the main URL with ?
if you are wishing to use $_GET. For example, http://forexample.de/getsharelink.php?TOKEN=d5bETQi8Iwe6G8tcIlWp
.
Other than that, you have simply missed out a _ before GET, also make sure your cases are correct.
Try this $_GET['TOKEN']