$this->output |
hi all
I did this function to prevent direct linking to images on my site. if user links https://mydomain/avatar/36/WU8VgWCXx4 and isnt logged in he is taken to the login page. the MYcontroller handles the logged in user part. my question doing this the image will always be downloaded nothing in the cache as when I link normally https://mydomain/images/avatar-36-WU8VgWCXx4.jpg is there a way to achieve this ? Code: function app_avatar( $imgsize,$imguserid ) Thanks |
Messages In This Thread |
$this->output - by Marcel - 02-22-2018, 05:56 AM
RE: $this->output - by InsiteFX - 02-22-2018, 10:17 AM
|