For some reason I can't get the $_GET
variable to do anything so I used a work around by just modifying the URL with a string at the end with a ?
and reading that into my code with the parse_url function and now I wanted to ask if that is a stupid fix in any way and if I should not do that.
example on how I did it
$url = "http://website.com/page?value";
$token = parse_url($url, PHP_URL_QUERY);
So In the end I just get the value inside $token