I don’t want to use WordPress’ built in media uploader.
I have a form (on the frontend) of my site, and I need to allow anyone to upload an image to my uploads folder in wp-content. I’ve found many tutorials, but they all tell me how to do it with the wordpress uploader. I need to be able to validate what users are uploading.
Any help is greatly appreciated!!!
Thanks.
Does this help?
WPTuts: Allow users to submit images to your site
PHP:
HTML:
Solved. This is the code I used to do it:
In my code:
In my form: