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 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. > > > Does the script have permission to write the file to the new directory? 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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php