2016-03-30, 11:31:56
Hey There,
I have been working on a plugin for private use on a website for my brother. It closely resembles a slideshow or gallery plugin with some minor differences. However the main issue with my plugin is that I can't seem to get images to upload to the site with the form I have created.
I haven't seen or found any documentation on this and was wondering if anyone had any suggestions? I had tried to change the location of the tmp folder for uploading, where the $_FILES['tmp'] super global brings the images to on my local server and hadn't been successful. Likewise, I attempted to switch on and modify the tmp folder on my host's server but was unable to.
Does anyone have any suggestions or workarounds? I am currently scanning through other plugins to see how this same function was used. Any help is appreciated.
Cheers!
I have been working on a plugin for private use on a website for my brother. It closely resembles a slideshow or gallery plugin with some minor differences. However the main issue with my plugin is that I can't seem to get images to upload to the site with the form I have created.
I haven't seen or found any documentation on this and was wondering if anyone had any suggestions? I had tried to change the location of the tmp folder for uploading, where the $_FILES['tmp'] super global brings the images to on my local server and hadn't been successful. Likewise, I attempted to switch on and modify the tmp folder on my host's server but was unable to.
Does anyone have any suggestions or workarounds? I am currently scanning through other plugins to see how this same function was used. Any help is appreciated.
Cheers!