Re: Help debugging a file upload on IIS
| From: | Ashley Sheridan | Date: | Mon, 29 Dec 2008 20:34:43 +0000 |
| Subject: | Re: Help debugging a file upload on IIS | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-285210@lists.php.net to get a copy of this message | ||
On Mon, 2008-12-29 at 11:54 -0800, Brian Dunning wrote:
> 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.
Are you sure that it is using the same temp directory as it is for the
sessions?
Ash
www.ashleysheridan.co.uk