php-proxy icon indicating copy to clipboard operation
php-proxy copied to clipboard

How to allow to use file_get_contents() on proxified urls out of different proxy servers ?

Open Alireza-Mirhabibi opened this issue 5 years ago • 2 comments

Hello I need to be able to use file_get_contents() on proxified urls but when I use this function from different servers the page is going to main page (php-proxy search form). I did everything to passing youtube url's based on encrypt and decrypt functions so good. But the problem is, I need to use iframe instead of using file_get_contents to get just video src. I set $config['url_mode'] to 2 in config.php Just tell me how to open proxified result from other servers via file_get_contents in this chosen mode.

Alireza-Mirhabibi avatar Feb 08 '20 15:02 Alireza-Mirhabibi

Please someone give me an answer.

Alireza-Mirhabibi avatar Feb 15 '20 21:02 Alireza-Mirhabibi

you need to show me more of your code. Also, try set $config['url_mode'] to 1 or 0

Athlon1600 avatar Jun 16 '20 14:06 Athlon1600