Quote:
Originally Posted by XTF
I've now put my code in vB_Upload_Attachment - process_upload. However, there are no hooks in that function and I'd like to avoid touching PHP files as much as possible. Is there a better location to do this in the vB code?
|
Could you please tell me the place you positioned your function to? I am trying to solve the same problem.... Could you answer some questions?
- How can you access file contents at that point?
- Can you also access file contents of files, uploaded from URL, not from user's PC?
- Can you mark file as errorneous after inspecting content so that VB will deny it and present user with an error message of your choice?