Hi, probably a really simple question, when I upload an image file and use move_uploaded_file I am having trouble defining the correct path to where I want the file to end up.
Basically on my development server (a Mac running Apache) I want it transferred to a directory within my web app directory, something like this:
./library/webserver/documents/mywebapp/imageupload/
But I am unsure if move_uploaded_file is expecting a relative or absolute path, and so far I have had little success with:
move_uploaded_file ($_FILES['uploadFile'] ['tmp_name'],
" the path to imageupload ");
Any help would be appreciated.
Thanks,
D