Athlon1600 / php-proxy

A web proxy script written in PHP and built as an alternative to Glype.
https://www.php-proxy.com
MIT License
295 stars 158 forks source link

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

Open Alireza-Mirhabibi opened 4 years ago

Alireza-Mirhabibi commented 4 years ago

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 commented 4 years ago

Please someone give me an answer.

Athlon1600 commented 4 years ago

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