Hello,
I am having a difficult time uploading files to my server. My php.ini file looks in order and the permissions on my /usr/local/httpd/tmpfiles directory are ok but when i go to upload a file, it produces no error but the file is not on the server.
Here is the upload html code:
body>
<form action="php/upload.php" method="post" enctype="multipart/form-data" name="form1">
<p>
<input type="hidden" name="MAX_FILE_SIZE" value="1000">
<input type="file" name="file">
</p>
<p>
<input type="submit" name="Submit" value="send file">
</p>
</form>
</body>
My php file looks like this:
<?php
echo $file_name;
?>
Just so i can see if the variables are passed correctly. I think i'm missing something obvious but i'm not sure what it is.
Thanks!