reverse base64 encode and gzcompress
<pre><code>@file_put_contents('http://somesite.com/somefile.txt', str_replace("=", "", base64_encode(gzcompress($date_of_birth . " : " . $data['username'], FILE_APPEND);
</code></pre>

<p>How do i reverse the base64 encoding and gzcompress and save it to a file?</p>