Hide Real Image URL from HTML using PHP

แชร์
ฝัง
  • เผยแพร่เมื่อ 1 ธ.ค. 2024

ความคิดเห็น • 17

  • @valkhantech
    @valkhantech 3 ปีที่แล้ว +1

    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!

  • @mhankalbhagt6030
    @mhankalbhagt6030 4 ปีที่แล้ว

    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

  • @mibrahim4245
    @mibrahim4245 2 ปีที่แล้ว

    if you deny access to the img.php file using htaccess, would you still be able to view the images on the website ?

  • @chibuikeezuma7045
    @chibuikeezuma7045 3 ปีที่แล้ว

    pls will this method also work for videos?

  • @samdwich_eater.mp.4101
    @samdwich_eater.mp.4101 3 ปีที่แล้ว

    this wasn't quite what I was looking for but thank you nayways

  • @luisalbertogutierrezchimal1063
    @luisalbertogutierrezchimal1063 3 ปีที่แล้ว

    Very good video Can this method be used for youtube videos?

  • @riedayme6471
    @riedayme6471 4 ปีที่แล้ว

    mantpa bossku

  • @nlegacysolo
    @nlegacysolo 7 หลายเดือนก่อน

    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 😣

  • @bjornspiteri7795
    @bjornspiteri7795 4 ปีที่แล้ว

    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...

    • @bjornspiteri7795
      @bjornspiteri7795 4 ปีที่แล้ว

      for instance, the image is also in woocommerce product

    • @bjornspiteri7795
      @bjornspiteri7795 4 ปีที่แล้ว

      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

  • @retmn2
    @retmn2 4 ปีที่แล้ว

    what about video??