Right now I'm printing the current URL I have and it kinda does it ok:
$currentURL = basename($_SERVER['PHP_SELF']);
The problem is that it only prints
solutions.php
instead of printing
solutions.php?id=581298a7-6c08-11e3-9bea-742f689f29f1
Anybody knows why this is happening? I need to get to print the part of
?id=581298a7-6c08-11e3-9bea-742f689f29f1
Because then I will be performing a substring to get just the ID.