Athlon1600 / php-proxy

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

php-proxy is not loading site completey #13

Closed mubbashar closed 9 years ago

mubbashar commented 9 years ago

I have download your plugin. And configure it on my localhost and on live server as well. but when i try to visit a page url. It trim the page from the end

on your demo site it is loading fine https://kc.unblockvideos.com/index.php?q=aHR0cDovL21wai1leHByZXNzLm9yZy9wYXBlcnMuaHRtbA

but when i load the same on my server. the html go trim

image

i try to debug and found something

in index.php on line 74

you are calling this method $response = $proxy->execute($request); and i print the response. and all html was there

so after calling $response->sendHeaders(); on line 80 you called $output = $response->getContent(); on line 83 the html got trim. not sure why

can you help me with this. thanks!

Athlon1600 commented 9 years ago

Send me a link to your server where php-proxy is installed.