Yes the first one is a question, i forgot the question mark.
If i send redirect user will know the location of the image.
Do you know a way let them download but without the exact location? Is there something like a temporary link that will expire after a while on the subdomain.domain.com?
I'm trying to do something with php header that allow people to download the image but without knowing it exact location.
Now i don't have 2 servers, so i have to test it on my pc [XAMPP] and other any file on the internet, i'm using google logo as example.
the code below:
<?php...
let said i have 2 server.
www.domain.com , # 1 server
sub1.domain.com , #2 server
the file is on #2 server. in www.domain.com i use content-disposition for the user but #1 will download the file then give to user.
is there a way to load directly from #2?