I am attempting to upload files to my server. I do not have access to modify the php.ini or httpconf files except through the use of ini_set.
Here are the relevent values as reported to me by phpinfo
file_uploads = on
upload_max_filesize = 8mb
upload_tmp_dir = no value
Here are the important parts of my xhtml form:
<form action="/admin/mcgFiles.php" method="post" enctype="multipart/form-data">
<input type="hidden" name="MAX_FILE_SIZE" VALUE="4294967296" />
<table border="0" cellpadding="5" cellspacing="1" class="adminFrame" width="501">
<tr>
<td align="right" class="adminCell"><b>
Upload File*
</b></td>
<td align="left" class="adminCell">
<input type="file" name"Contents" class="adminInput" />
</td>
</tr>
<tr>
<td colspan="2" align="center" class="adminCell">
<input type="submit" name="ActionBtn" value="Add Record" class="adminInput" />
</td>
</tr>
</table>
</form>
then at the top of the processing script (immediatly after all my includes and printing the template header I do this)
print_r($HTTP_POST_FILES);
echo "<br>\n";
print_r($_FILES);
echo "<br>\n";
both arrays are empty. How can I get the file upload to work without access to php.ini in order to change the upload_tmp_dir setting?