Re: File Upload problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ok, now it is getting even more wierd. My 5.0.2 File Upload stopped functioning again.

I stopped and restarted apache with 502, and it still failed.

I moved the folder to php.502, and then moved php.432 back to php. Restarted apache and everything worked.

Scott Carr
OpenOffice.org
Documentation Maintainer



Scott Carr wrote:

I went through the following.

5.0.2 - Did not work
4.3.9 - Did not work
4.3.8 - Did not work
4.3.2 - Original.  Worked
4.3.9 - Worked
5.0.2 - Worked

I didn't change anything, that I know of. This is strange. The php.ini file was changed at the 4.3.2 check, but there was no change in the php.ini file.

Scott Carr
OpenOffice.org
Documentation Maintainer



Scott Carr wrote:

Scott Carr wrote:

I am trying to use File Upload in PHP 5.0.2.
The file is showing up without error, as you can see in the array:

As a check, I sent a large file (~4Mb) and was able to see the file being written to the temp directory, as the file being pointed to by tmp_name.

When I run is_uploaded_file($values['uploadfile']['tmp_name']), I am getting an error saying the file is not an Upload File.

Log Entries around the problem:
[01-Oct-2004 10:58:05] PHP Notice: Tmp File: c:\winnt\temp\php2B.tmp in C:\Apache2\htdocs\client\import.php on line 112
[01-Oct-2004 10:58:05] PHP Warning: File Upload failed in C:\Apache2\htdocs\client\import.php on line 116



I am using QuickForm to build the form. This has worked before, but not on this system. Is there something I am missing?


Thanks

Scott Carr
OpenOffice.org
Documentation Maintainer


-- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux