Why wont this simple code work all of a sudden?
<p>Why won't this print "success" when I submit the form? I'm pretty sure it should.</p>

<pre><code>&lt;?php
    if (count($_POST) &gt; 0) {
        echo "success!!";
    }
?&gt;

&lt;form method="post" enctype="multipart/form-data"&gt;
    &lt;input type="file" name="userfile" /&gt;
    &lt;input type="submit" value="upload" /&gt;
&lt;/form&gt;
</code></pre>
