Quote:
Originally Posted by cellarius
Be specific, please.
You did replace 'fileToUpload' and 'size' with the variables that contain the actual values, did you?
|
thanks for the reply, yes those values are the values from the form.
What happens is nothing, it does not upload at all nothing gets moved into the directory.
The strangest thing also is I have another part of the script that outputs the files from foreach loop using DIV'S and the vbulletin form code breaks this when I change it , makes everything huge (which I cannot explain).
But as soon as I change it back to the $_FILE method it works perfectly?
I am just trying for good practice and security to use the built in vbulletin cleaning functions...