Queston on file uploads

From: Tony <vze2jy85@yahoo.com>
Date: Fri Aug 25 2006 - 11:54:54 AKDT

Hi Everyone:

I am running Apache with Samba. And I placed an HTML
file to upload files onto my server (see PS below). I
am running the server with administrator privileges.

On my /var/www/html directory, I placed this file and
a php script which tells where which directory to put
the file.

Now, the html file works just fine but when it tries
to upload the file, it fails. The file size is very
small about 10k.

Now, so I went to a commerical server, and it uploaded
the file without any problems using the same HTML file
and php script.

So I figure the problem is either with Apache or
Samba. I wonder if anyone has any thoughts. Maybe
Apache does not allow file uploads. Or Samba does not
allow file uploads.

Tony

PS
Here is the HTML upload file code:

<html>
<body>

<!-- Form needs to be multipart for file upload-->
<form action="filehandler.php" method="post"
enctype="multipart/form-data">
Enter file name (include full path)<br>

or use the browse button:
  <p>
<!-- Set max size to 100K -->
  <input name="MAX_FILE_SIZE" value="100000"
type="hidden">
  <input name="resume" type="file">
  </p>
  <p>
  <input value="Upload" type="submit">
  </p>

</form>
</body>
</html>

---------
To unsubscribe, send email to <aklug-request@aklug.org>
with 'unsubscribe' in the message body.
Received on Fri Aug 25 11:55:13 2006

This archive was generated by hypermail 2.1.8 : Fri Aug 25 2006 - 11:55:13 AKDT