📜 ⬆️ ⬇️

Parse the query from http://www.hugeurl.com/

A bit about www.hugeurl.com - parse the url, take the query_string

$urlDecode = base64_decode( $queryString );
$argument = explode( "&", $urlDecode );


at the output we get

$argument[0] =
$argument[1] =
$argument[2] = base64

for ( $i = 0, $i < $argument[1], $i++ ){
$argument[2] = base64_decode( $argument[2] )
}

And here is the sought:
$ url = $ argument [2] ;

')

Source: https://habr.com/ru/post/56930/


All Articles