I had my database working fine today, but needed to add the mod for uploading JPG images.
I made all the changes and added the new validate_upolad subroutine, and now I'm getting internal server errors. I've double-checked to make sure all the ; and " are in the right places. I'll check them again.
Question 1: In the subroutine I see OPENDIR and CLOSEDIR references to something called GRAPHIC (as opposed to Graphic, which is my filename, which I changed) , but don't see where this value is set. Am I missing something? Is this the same thing as the filename and do I need to change it to match the filename I'm using?
Question 2: Since I haven't gotten that far yet, where does the subroutine get the image to be uploaded? Will it default to the user's C drive?
Thanks in advance.
I made all the changes and added the new validate_upolad subroutine, and now I'm getting internal server errors. I've double-checked to make sure all the ; and " are in the right places. I'll check them again.
Question 1: In the subroutine I see OPENDIR and CLOSEDIR references to something called GRAPHIC (as opposed to Graphic, which is my filename, which I changed) , but don't see where this value is set. Am I missing something? Is this the same thing as the filename and do I need to change it to match the filename I'm using?
Question 2: Since I haven't gotten that far yet, where does the subroutine get the image to be uploaded? Will it default to the user's C drive?
Thanks in advance.