PHP File Upload
<p>I'm looking to change my normal PHP file upload into a multiple file upload.</p>

<p>I have this as my single file input:</p>

<pre><code>&lt;input name="sliderfile" id="sliderfile" type="file" /&gt;
</code></pre>

<p>And this is the PHP I'm using to upload to my server/place in folder and register it into my databases:</p>

<pre><code>if($_POST[sliderurl]){
$path= "uploads/".$HTTP_POST_FILES['sliderfile']['name'];
if($ufile !=none){
if(copy($HTTP_POST_FILES['sliderfile']['tmp_name'], $path)){
date_default_timezone_set('Europe/London');
$added = date("F j, Y");
$query = mysql_query("INSERT INTO `slider` (`imgurl`, `url`, `title`, `description`, `added`) VALUES ('$path', '$_POST[sliderurl]', '$_POST[slidertitle]', '$_POST[sliderdesc]', '$added')");
?&gt;
&lt;div id="fademessage" style="margin-top: 13px;"&gt;
&lt;p class="message_greenadmin"&gt;Your slide has been successfully created and added to the homepage, Thank you.&lt;/p&gt;
&lt;/div&gt;
&lt;?php
}else{
?&gt;
&lt;div id="fademessage" style="margin-top: 13px;"&gt;
&lt;p class="message_redadmin"&gt;Something seems to have gone wrong. Try renaming the photos file name.&lt;/p&gt;
&lt;/div&gt;
&lt;?php
}
}
}else{
}
?&gt;
</code></pre>

<p>Any help would be appreciated,</p>

<p>Thanks!</p>
