OK, I'm now stuck. I had started asking questions in another thread on this forum, but I'm getting loads of script problems now so I thought I would ask a new question.
I have a form which allows users to upload the CV's (resume's) online. I was fine with this as I had checks in my script for filesize and also filetype, then I would upload the file into a directory on my webserver.
Now, they want a field in the form for uploading a photo(!), so now I need to have 2 upload fields in my form and I assume my script needs to be hugely amended to do these checks (filetype and filesize).
I am also storing these filenames (not the full path) in my DB too.
Any ideas/help?
I have a form which allows users to upload the CV's (resume's) online. I was fine with this as I had checks in my script for filesize and also filetype, then I would upload the file into a directory on my webserver.
Now, they want a field in the form for uploading a photo(!), so now I need to have 2 upload fields in my form and I assume my script needs to be hugely amended to do these checks (filetype and filesize).
I am also storing these filenames (not the full path) in my DB too.
Any ideas/help?