[PHP] Javascript problem

2005-01-17 Thread Gregg Healy
I am trying to get the form below to make sure the file type for the upload is a pdf file. The code below checks, but doesn¹t allow even a pdf file to upload. Can anybody shed some light on this for me? Is there an easier way to do this using JS? test page