Closed zQueal closed 2 years ago
Is the PHP code for viewing images? Because if you're trying to view images with it, notice how it has just POST protocol and not GET.
Is the PHP code for viewing images?
Yes.
Because if you're trying to view images with it, notice how it has just POST protocol and not GET.
I've also tried GET | POST
, to no avail. In my frustration I moved away from Flight. Which is unfortunate.
I have two sites being served by caddy;
i.mainsite
is a simple curl based image uploader. Both locations are using flight to serve data.mainsite
works fine.i.mainsite
partly works. I'm able to upload images with my script. However, when I attempt to view them, I get a 404 error.Image files are uploaded to
public/files/
. Here's the tree view;I've been trying to troubleshoot this for a while, and I can't seem to grasp the methodology I need to use to get this to work. Ideally, I'd like to be able to be
PUT
images via curl form data toi.mainsite
and be able to access the image byi.mainsite/HK-5n.jpg
.Is this even possible?