Help debugging a file upload on IIS
| From: | Brian Dunning | Date: | Mon, 29 Dec 2008 19:54:00 +0000 |
| Subject: | Help debugging a file upload on IIS | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-285207@lists.php.net to get a copy of this message | ||
Hi - I have a file upload that returns no error, but the file does not appear on the server. Here is the result of $_FILES:
Array (
[f] => Array (
[name] => Elephants.pdf
[type] => application/pdf
[tmp_name] => C:\WINDOWS\Temp\php3133.tmp
[error] => 0
[size] => 114109 ) )
Nothing new at all in C:\Windows\Temp\. PHP is properly putting its session files in there, so I know PHP has permission. Anyway I set Everyone permissions to Full Control for that directory. post_max_size and upload_max_filesize are both 250M. Just not sure what else to check.
PHP 5.2.6, Microsoft-IIS/6.0, Windows 2003 Server R2, Enterprise Edition, SP2
Thanks.