[PHP] Help debugging a file upload on IIS

2008-12-29 Thread Brian Dunning
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

Re: [PHP] Help debugging a file upload on IIS

2008-12-29 Thread Ashley Sheridan
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

Re: [PHP] Help debugging a file upload on IIS

2008-12-29 Thread Ashley Sheridan
On Mon, 2008-12-29 at 20:34 +, 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]

Re: [PHP] Help debugging a file upload on IIS

2008-12-29 Thread Brian Dunning
The one thing I was doing was: move_uploaded_file($_FILES['upload_file']['tmp_name'], $new_path); but nothing was happening, no new file appearing where it was supposed to, and no error returned, left me scratching my head. (Later the same script logs the upload to MySQL using data from

Re: [PHP] Help debugging a file upload on IIS

2008-12-29 Thread Ashley Sheridan
On Mon, 2008-12-29 at 13:29 -0800, Brian Dunning wrote: The one thing I was doing was: move_uploaded_file($_FILES['upload_file']['tmp_name'], $new_path); but nothing was happening, no new file appearing where it was supposed to, and no error returned, left me scratching my head. (Later the