title: Decode in JavaScript encoded Base64 value in PHP
body: <p>I'm trying to decrypt "window.btoa" in PHP, please see my PHP code in below.</p>
  
  <pre><code>&lt;script&gt;
  var url = "?url=";
  var input = 'some text';
  var encrypt = window.btoa( input );
  var link = "www.domain.com/"+url+encrypt;
  &lt;/script&gt;
  </code></pre>
  
  <p>My Link generated as below
  www.domain.com/?url=c29tZSB0ZXh0</p>
  
  <p>PHP code in below</p>
  
  <pre><code>&lt;?php
  $testURL = $_GET['url'];
  echo $testURL;
  ?&gt;
  </code></pre>
  
  <p>Please guide me how to decrypt this value.</p>