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

Reply via email to