W
W
WebFenix2016-01-24 01:11:18
PHP
WebFenix, 2016-01-24 01:11:18

How to get GET values ​​from an unusual request?

There is a URL that gives VK - ' l.ru/#access_token=token '.
But since this request is not simple, getting the access_token value via GET[] and $_REQUEST is not realistic (thanks to #). How can this be done using PHP or JS? (preferably with examples, if JS).

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
sunrails, 2016-01-24
​​@WebFenix

JS
PHP

parse_url("http://site.ru?param#hash", PHP_URL_FRAGMENT);

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question