Posted by Sanders Kaufman on 08/11/07 12:53
Big Moxy wrote:
>>> error_reporting(E_ALL);
>>> $uploaddir = "d:\domains\test.com\wwwroot\casper\uploads\";
>>> $uploadfile = $uploaddir . basename($_FILES["userfile"]["name"]);
Your problem is in how you're using the backslash. In order to use a
back-slash in a string, you have to use TWO, not just one.
Like this:
$uploaddir = "d:\\domains\\test.com\\wwwroot\\casper\\uploads\\";
[Back to original message]
|