php thumbnail creation after uploading file
<p>Hi friends what is the best way to create thumbnail on the fly after uploading an image ?</p>

<pre><code>move_uploaded_file($source, $dest)
//uploaded successfully
//what will be code to generate thumbnail ?
</code></pre>
