I am using AJAX to upload a file without changing the file upload screen,
strangely it will only work when the document path for the move_uploaded_file function is hard coded, as soon as I pass the ajax page variables (using GET) for the document path the move_uploaded_file function stops working. I can test the document path I have dynamically created and it it echo's perfectly well, but for some reason the move_uploaded_file file can't see the effect.
There must be some conflict going on but I don't know what or how to get around the problem.
Any suggestions would be welcome.