Bravo List
Go Back   > Bravo List > Source Code > Trackers > TBDev
Old 14-02-19, 21:39
Tedmorris's Avatar
Tedmorris Tedmorris is offline
Senior Member
Join Date: Sep 2017
Posts: 45
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
Old 14-02-19, 21:48
darkalchemy's Avatar
darkalchemy darkalchemy is offline
Join Date: Dec 2017
United States
Posts: 75
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.
I do custom coding, source installs, mods, server setup and/or config, etc. Feel free to pitch me your needs and your offer.

Last edited by darkalchemy; 14-02-19 at 22:04.
Reply With Quote

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 22:12. vBulletin skin by ForumMonkeys. Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2019, vBulletin Solutions Inc.