Hello,
The last years I used a local testing machine with w2k as the system.
I'm using a WAMP configuration by the way.
Now I have a notebook installed with winXP and most of all works fine. Yesterday I noticed one thing while uploading a file,
at the top of the page I get this warning:
J:\wwwroot\htdocs\comp\files*, Are you sure (Y/N)? J:\wwwroot\htdocs\comp\files*, Are you sure (Y/N)?
Never noticed this before what wil that mean?
the only code I thing which is related should be this:
function move_upload($tmp_file, $new_file) {
umask(0);
if ($this->existing_file($new_file)) {
$newfile = $this->upload_dir.$new_file;
if ($this->check_dir($this->upload_dir)) {
if (move_uploaded_file($tmp_file, $newfile)) {
if ($this->replace == "y") {
//system("chmod 0777 $newfile"); // maybe you need to use the system command in some cases...
chmod($newfile , 0777);
} else {
// system("chmod 0755 $newfile");
chmod($newfile , 0755);
}
return true;
} else {
return false;
}
} else {
$this->message[] = $this->error_text(14);
return false;
}
} else {
$this->message[] = $this->error_text(15);
return false;
}
}
The whole class is here: http://www.finalwebsites.com/snippets.php?id=7
Any idea what is this for kind of warning?