PHP: Testing if Base64 encoded POST data is empty
<p>Is there any reason why the PHP empty function would return true for valid base64 encoded data? Perhaps I should be using another function besides empty. The front-end app, build  in flex, tests to make sure the Bitmap that's converted to base64 isn't empty prior to the POST.</p>

<pre><code>//codeigniter
$ImageData = $this-&gt;input-&gt;post('ImageData'); //ImageData encoded in base64 format

if (empty($ImageData))
    {
     //echo json error 
     return;
    }
</code></pre>
