how to decrypt value which encrypted from javascript : I'm trying to decrypt "window.btoa" in PHP, please see my PHP code in below.


    <script>
    var url = "?url=";
    var input = 'some text';
    var encrypt = window.btoa( input );
    var link = "www.domain.com/"+url+encrypt;
	</script>


My Link generated as below
www.domain.com/?url=c29tZSB0ZXh0

PHP code in below

    <?php
    $testURL = $_GET['url];
    echo $testURL;
    ?>

Please guide me how to decrypt this value.