Re: [PHP] Help debugging a file upload on IIS
- From: ash@xxxxxxxxxxxxxxxxxxxx (Ashley Sheridan)
- Date: Mon, 29 Dec 2008 23:45:27 +0000
On Mon, 2008-12-29 at 13:29 -0800, Brian Dunning wrote:
The one thing I was doing was:Does the script have permission to write the file to the new directory?
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 $_FILES and that part
works fine.)
On Dec 29, 2008, at 12:43 PM, Ashley Sheridan wrote:
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.
What value is returned from attempting this? Just assign that
move_uploaded_file line to a variable and print the output.
Ash
www.ashleysheridan.co.uk
.
- References:
- Help debugging a file upload on IIS
- From: Brian Dunning
- Re: [PHP] Help debugging a file upload on IIS
- From: Ashley Sheridan
- Re: [PHP] Help debugging a file upload on IIS
- From: Ashley Sheridan
- Re: [PHP] Help debugging a file upload on IIS
- From: Brian Dunning
- Help debugging a file upload on IIS
- Prev by Date: running python in php timeout
- Next by Date: Re: [PHP] Architecture patterns in PHP
- Previous by thread: Re: [PHP] Help debugging a file upload on IIS
- Next by thread: POSIX 1003.1-2001 gethostname(2)
- Index(es):
Relevant Pages
|