I'm creating an image upload facility but I'm having troubles getting the file variables on the upload page.
I know that enctype="multipart/form-data" has to be entered into the form to accept the data uploaded but every document I have read suggests to put it in the <form> tag. This doesn't work when I try it but it does work when I place it in the <input name="userfile" type="file"> tag (i.e. <input name="userfile" type="file" enctype="multipart/form-data">).
I cannot use $userfile_name, $userfile_size etc etc to get the details on the upload process page. They won't pass through. Do I have to det up the apache web server differently. I don't have contact to the server side so I have to tell the guys what I want changed.
Thanks...
I know that enctype="multipart/form-data" has to be entered into the form to accept the data uploaded but every document I have read suggests to put it in the <form> tag. This doesn't work when I try it but it does work when I place it in the <input name="userfile" type="file"> tag (i.e. <input name="userfile" type="file" enctype="multipart/form-data">).
I cannot use $userfile_name, $userfile_size etc etc to get the details on the upload process page. They won't pass through. Do I have to det up the apache web server differently. I don't have contact to the server side so I have to tell the guys what I want changed.
Thanks...