Bravo List
Register
Go Back   > Bravo List > Source Code > Archived Trackers > TBDev
Reply
  #11  
Old 14th February 2019, 21:39
Tedmorris Tedmorris is offline
Senior Member
 
Join Date: Sep 2017
Posts: 62
Default
Thx m8, you have been a huge help. Much appreciated.

I'm not sure if I should try doing it with a function like your code or use the php function parse_url() to do all the work.

I'm guessing you proxy all images even if they are already https as I dont see anything that looks for a https match or specifys the function only for http images.
Reply With Quote
  #12  
Old 14th February 2019, 21:48
darkalchemy darkalchemy is offline
Administrator
 
Join Date: Dec 2017
United States
Posts: 101
Default
That's correct. I proxy all images. So I don't have to deal with image not found when the image finally gets deleted from the host.

Besides proxying all external images, my function also anonymizes non image urls. So every external url passes through that function.

Btw, "i' in regex/preg_match make the regex case-insensitive.

Last edited by darkalchemy; 14th February 2019 at 22:04.
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT +2. The time now is 23:58. vBulletin skin by ForumMonkeys. Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.