Yes, I do read the manual, though as a newbie I often find it difficult to understand without a little extra explanation or a tutorial, which I often can find on Google. I am neither a moron nor a lazy slob, 2 types of folks for whom your comment seems to be reserved.
In this case, I have tried Google, tried the manual, still having trouble. I appreciate your posting help for me GREATLY, please believe me, but of course telling me what does not work without any suggestion of what does pretty much ends me right where I was.
Incidentally, I am using Pure PHP Upload 2.0, a Dreamweaver extension, for the upload -- and it requires $HTTP_POST_VARS in order to work at all, which is the only reason it appears in my code. Everything works fine, I just can't seem to validate the characters in the uploaded file name.
The following other attempts do not work either:
$file = $_POST['file'];
$file = $_FILES['file']['name'];
Can coditoergosum, or anyone, give me another nudge along on this one? Sincere thanks if you can/will.