Page 1 of 1

File upload not working

Posted: Tue Jun 04, 2024 11:36 pm
by demon
I created an upload function, but it doesn't work, can anyone help me

code:
<div class="notify">%notify%</div>
<div class="link">%cdn_link%</div>
<input type="file" name="file" accept="image/jpg, image/jpeg" />
<input type="text" name="dir" value="56445" />
<input type="submit" />

config:
<file>{{POST(file)}}</file>
<dir>{{POST(dir)}}</dir>

notify message: Error: No file selected

Re: File upload not working

Posted: Wed Jun 05, 2024 4:16 pm
by vikkas
Image

Re: File upload not working

Posted: Wed Jun 05, 2024 4:16 pm
by vikkas

Re: File upload not working

Posted: Wed Jun 05, 2024 4:44 pm
by demon
thanks :D