you should be able to upload them as long as you are uploading them into the same directory as the file you are using to upload with.
That's odd. I have a script that has worked on previous hosts, but when I download and upload them here again, it will take the action like the file was never uploaded...
<?php
if(!isset($_FILES['Name'])) {
header('Location: UpFormRSS.php');
}
$Temp = $_FILES['Name']['tmp_name'];
$Name = $_FILES['Name']['name'];
$Size = $_FILES['Name']['size'];
$Type = $_FILES['Name']['type'];
function WriteFile() {
global $Temp, $Name, $Size, $Type;
if($Type !== 'text/xml') {
unlink($Name);
echo 'This file is not an XML/RSS file: ' . $Type;
} elseif($Size > 50000) {
unlink($Name);
echo 'This file is over 5MB.';
} elseif(file_exists($Name)) {
unlink($Name);
echo 'The file, ' . $Name . ', already exists.';
} elseif(!$_FILES) {
unlink($Name);
echo 'There was an error uploading the file.';
} elseif(move_uploaded_file($Temp, './' . $Name)) {
echo 'Success!<p>
<input type="hidden" value="' . $Name . '" id="Name" name="Name"><input name="Submit" type="image" id="Submit" src="images/Buttons/Submit/Submit.png" alt="Submit" onmouseover="MM_swapImage(\'Submit\',\'\',\'images/Buttons/Submit/Submit_f2.png\',1);" onmouseout="MM_swapImage(\'Submit\',\'\',\'images/Buttons/Submit/Submit.png\',1);" />';
}
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Upload</title>
<script src="Scripts.js" ></script>
<link href="Style.css" rel="stylesheet" type="text/css" />
<style type="text/css">
<!--
.smalltext {font-size: 12px}
.headertext {font-style: italic; font-size: 14px;}
.style5 {font-size: 12px; font-weight: bold; }
-->
</style>
</head>
<body>
<form id="Go" name="Go" method="post" action="ViewRSS.php">
<?php WriteFile(); ?>
</form>
<p> </p>
<p>
</p>
</body>
</html>