I want to redirect my browser to a PHP page so that when the page loads, it displays to the user a substring of the current URL.
For example, let's say I have a page called substring.php.
My browser redirects me to:
http://www.example.com/substring.php?oauth_token=123456
Is it possible to write some PHP code that will be displayed to the user, "123456"?
If so, can someone help me on how to do this?
Thank!
source
share