I tried that, and it did not create d:\blah.txt. Alternatively, I also tried
"d:\\" . $_FILES['userfile']['name'] With no luck either. --> -----Original Message----- --> From: Chris Kranz [mailto:[EMAIL PROTECTED]] --> Sent: Monday, January 20, 2003 3:59 PM --> To: [EMAIL PROTECTED] --> Subject: RE: [PHP-WIN] Moving an uploaded file keeps failing --> --> --> move_uploaded_file("d:\\temp\\" . --> $_FILES['userfile']['tmp_name'], "d:\\blah.txt"); --> --> see if that creates a file called blah.txt --> --> if it does, then you gonna have to name your file, rather --> than just tell it d:\ --> --> chris kranz --> fatcuban.com --> --> --> -----Original Message----- --> From: Matt Babineau [mailto:[EMAIL PROTECTED]] --> Sent: Monday, January 20, 2003 8:50 PM --> To: 'PHP Windows Helplist' --> Subject: RE: [PHP-WIN] Moving an uploaded file keeps failing --> --> UPDATE: --> --> Ok, I got the page to stop giving me errors by supplying --> the source file path like this: --> --> move_uploaded_file("d:\\temp\\" . --> $_FILES['userfile']['tmp_name'], "d:\\"); --> --> But that still doesn't move the uploaded file to the d:\ either. --> --> Any ideas? --> --> --> --> -- --> PHP Windows Mailing List (http://www.php.net/) --> To unsubscribe, visit: http://www.php.net/unsub.php --> --> -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php