hi, could someone please tell me if i am being stupid? i am trying to upload using http with a script like ...
<form method="post" enctype="multipart/form-data" action="upload.php">
<input type="file" name="file">
<input type="submit" value="upload">
</form>
.........then..........
<?php
$up_ok = move_uploaded_file($file,$path);
?>
..........................
and it just doesnt work, I have never used this server for file uploads and i think it maybe something to do with php.ini but not too sure.
Have the following in my php.ini ..............
file_uploads = On
upload_tmp_dir = /tmp
upload_max_filesize = 1M
...........................
Any help at all would be great!