Re: Help debugging a file upload on IIS

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

 



On Mon, 2008-12-29 at 20:34 +0000, Ashley Sheridan wrote:
> 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
> 
> 
Sorry, that's a silly question, ignore that. As far as I'm aware, IIS
removes the files once the script has run it's course; so unless you're
doing something with the file in your code, you won't really see it.


Ash
www.ashleysheridan.co.uk


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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux