File upload not working

Handle problems or report system bug
Post Reply
demon
Posts: 5
Joined: Tue Jun 04, 2024 11:28 pm

File upload not working

Post 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
vikkas
Posts: 84
Joined: Sun May 07, 2023 9:28 am

Re: File upload not working

Post by vikkas »

Image
vikkas
Posts: 84
Joined: Sun May 07, 2023 9:28 am

Re: File upload not working

Post by vikkas »

demon
Posts: 5
Joined: Tue Jun 04, 2024 11:28 pm

Re: File upload not working

Post by demon »

thanks :D
Post Reply