DeveloperSide.NET Forums
February 24, 2020, 10:47:54 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
  Home Help Search Login Register  
  Show Posts
Pages: [1]
1  DeveloperSide.NET / Building a Web Server, for Linux / Normal Upload HTML on: July 29, 2004, 06:46:58 AM
<form enctype="multipart/form-data" action="myupload.php" method="post">

 <input type="hidden" name="MAX_FILE_SIZE" value="3000000" />
 Send this file: <input name="userfile" type="file" />
 <input type="submit" value="Send File" />

</form>

** Hope you can understand that it is really the most fundamental file upload script.

Regards,
mark
2  DeveloperSide.NET / Building a Web Server, for Linux / Any other suggestions ? on: July 29, 2004, 02:09:25 AM
Thank you for your assistance and advice.  

However, those settings were already configured as the advised value and I just curious whether that may be due to the release(s) and platform combination.

Would anyone using the same platform face a similar problem ?
I don't have this problem when running Apache 2.0.50+PHP5Final+W2K.

Thanks a lot. More comments and advices are welcomed.

Mark
3  DeveloperSide.NET / Building a Web Server, for Linux / Cannot Upload - in Fedora 2+Apache 2.0.50-2.1 +PHP 4.3.8-3 on: July 28, 2004, 04:11:10 AM
Description:
------------
Dear Guru,

I had installed the 4.3.8-3 rpm for Fedora in an Apache 2.0.50
environment.

After installation of some community suites (like xoops, phpnuke, etc.
), I found all of the upload functions failed strangely.

I go further to suspect some setting may be wrong about my php.conf.
However, after extensive searching, I found my settings (including
FileUploads on, tmp_dir = /www/tmp, etc.) should probably be correct.  
*** I have checked the tmp directory is owned and writeable by apache.

I therefore write a very simple file upload to check the correct
functioning of file upload.

http://ootlinux01.homelinux.net:8000/testupload.html

(It will POST to a .php file which simply display phpinfo())

and check whether the tmpfile would be created in the destinated
directory.

I cannot find the expected new tmpfile.

Would someone know what's has gone wrong or is it some unmatched version among Apache and PHP ?

I would be grateful for your kind assistance.

Thank you for your help.

Best Regards,
Mark
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.9 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!