copy($_FILES['userfile']['tmp_name']...
...was a sample code snippet. I had just copied and pasted it without changing the "userfile" part—and since there was no 'userfile' in my form, it would never have worked. Using my own variable pointer $fld works. Thus:
copy($_FILES[$fld]['tmp_name'].
...works. And that is all.
In any case, thanks for the suggestions.
...Rene
On Wednesday, October 29, 2003, at 11:28 PM, John Nichel wrote:
René Fournier wrote:I've added a path, but still no success....
Does your webserver (Apache?) have write permission to the directory you're trying to move the file too?
-- By-Tor.com It's all about the Rush http://www.by-tor.com
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php