Please clarify me this, because this solution seems great for security but i'm unsure about it's performance: 1 - Server will have to work harder to read files, that will cost some more CPU and may impact on response time on large user scale 2 - Browsers will be able to cache those images properly? I get this is a solution to secure data and user sensitive files and not meant for public use, I can see many cases where this is applicable, it was a great tutorial!
This is cool, but I cant for the life of me fig out how to use this with my database. I am not using an array because that’s not practical. I have links created with hash/$_GET[‘h’], but since this code uses an array, there’s no clear instruction for how to use it with database fetch 😣
Hi! Great code. How can I apply the below code in wp to address an image on a page? The other code works in functions.php but you seem to embed the foreach within the body / div / class / image...
I need to locate the div where the images are within the body - if I place the foreach in functions.php it loads on all pages - as it goes in the main body
Please clarify me this, because this solution seems great for security but i'm unsure about it's performance:
1 - Server will have to work harder to read files, that will cost some more CPU and may impact on response time on large user scale
2 - Browsers will be able to cache those images properly?
I get this is a solution to secure data and user sensitive files and not meant for public use, I can see many cases where this is applicable, it was a great tutorial!
great sir i will all over youtube and google but 404 not found any grat tutorial for codeigniter but you guid thankyou sir
your tutorials are best
Thank you for nice words. Stay tuned!
Could you do this with youtube videos?
if you deny access to the img.php file using htaccess, would you still be able to view the images on the website ?
pls will this method also work for videos?
this wasn't quite what I was looking for but thank you nayways
No thanks
Very good video Can this method be used for youtube videos?
mantpa bossku
Thank you
This is cool, but I cant for the life of me fig out how to use this with my database. I am not using an array because that’s not practical. I have links created with hash/$_GET[‘h’], but since this code uses an array, there’s no clear instruction for how to use it with database fetch 😣
Hi! Great code. How can I apply the below code in wp to address an image on a page? The other code works in functions.php but you seem to embed the foreach within the body / div / class / image...
for instance, the image is also in woocommerce product
I need to locate the div where the images are within the body - if I place the foreach in functions.php it loads on all pages - as it goes in the main body
what about video??