custom plugin. upload to a folder
-
Hi there,
I am making a custom plugin where I can get a user to browse for an image and then upload it into my plugin folder sub folder ‘upload’.
At the same time, I will be pasting the src of the image into a database so it can be referenced wherever it may be needed.
Thing is, I’m finding it hard to get the file uploaded and the file information uploaded into the database.
any ideas?
here’s the code: http://pastebin.com/D9pmuMhm
edit – latest code: http://pastebin.com/tB2wT1EmReally quite desperate now.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘custom plugin. upload to a folder’ is closed to new replies.