Ok, whats wrong with this, it ONLY uploads jpg files, i thought i was the daddy at first but it only works for jpgs, want it to work for ALL of the files!!!!
<?
if (is_uploaded_file($attach) != '')
{
copy($attach, "Uploads/$attach_name");
}
?>
this is not the code that limits the type of file. there is an article on this site that deals with uploads. Read it and check you code to see where the file type limitations is and change it to allow whateveer file type you want.
bastien
try this article.....you should be able to upload ANY type of file, unless it is bigger than the php.ini specified amount...
http://www.phpbuilder.com/columns/bealers20000904.php3