Just wondering what I need to do to get file uploading working on Apache Win2k? I have changed my php.ini file with this line:
upload_tmp_dir = c:\apache\tmp_files\ but I still can get files uploaded.....
Weird part is though that my scripts just pass along the file as being uploaded and the rest of the script executes even though the file isn't on the server....any ideas?
I searched the apache conf files and couldn't find a temp dir line or anything.....
here is my script:
if(is_uploaded_file($mp3)) {
echo "<h1>uploaded good</h1>";
$mp3_name = urlencode($mp3_name);
echo "<BR>$mp3_name";
//$file_uploaded_ok = move_uploaded_file($mp3,"/memory/bank/$img_name"); // Move uploaded file
if(move_uploaded_file($mp3,"bank/$img_name")) {
echo "<BR><h1>...moved and saved</h1>";
} else {
}
} else {
echo "<h1>nope</h1>";
}
thanks..
Chad