Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Alireza-Mirhabibi opened this issue Feb 8, 2020 · 2 comments

Comments

@Alireza-Mirhabibi
Copy link

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 Alireza-Mirhabibi changed the title How to allow to use file_get_contents() on proxifyed urls out of different proxy servers ? How to allow to use file_get_contents() on proxified urls out of different proxy servers ? Feb 8, 2020
@Alireza-Mirhabibi
Copy link
Author

Please someone give me an answer.

@Athlon1600
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants