efpies / php-proxy Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/php-proxy
Automatically exported from code.google.com/p/php-proxy
What steps will reproduce the problem?
1. Installed the index.php & added the .htaccess file lines to original file
2. However whatever site I access through the PHP proxy I get above notice
error on browser (chrome, Firefox) followed by error "Failed to connect to
www.msn.com port 80: Connection refused"
3. The sites I am trying through proxy are opening in other tabs of same
browser & hence there are no blocking at my end
What is the expected output? What do you see instead?
Standard output of msn.com or google.com is expected.
Instead I get PHP notice error : Notice: Undefined index: HTTPS in
C:\wamp\www\index.php on line 34
Followed by "Failed to connect to www.msn.com port 80: Connection refused"
What version of the product are you using? On what operating system?
Using PHP proxy (released Nov 2011) on Win7 & wamp server.
Please provide any additional information below.
I have also modified below line:
curl_setopt($curlSession, CURLOPT_SSL_VERIFYHOST, 2);
& put 2 instead of 1 in the last value for latest PHP versions to get rid of
other error notice.
Original issue reported on code.google.com by sagnik.pal
on 20 Jun 2014 at 10:11
Attachments:
What steps will reproduce the problem?
1. I tested the php proxy with the CMS WordPress.
2. When attempted logon process in the admin area of WordPress, this process is
not so executed as if it is running without PHP proxy.
What is the expected output?
Ich möchte über den PHP Proxy alle Seitenaufrufe inclusive geschützer Seiten
anzeigen lassen, sodass ein Benutzer mit dem PHP Proxy Skript interagieren kann
als wäre er nicht auf dem PHP Proxy Skript.
What version of the product are you using? On what operating system?
I use the latest version of these product here on this download webpage.
Is it possible to configure the PHP proxy so that it switches between on every
request and the user via the PHP proxy interacts with WordPress?
Original issue reported on code.google.com by [email protected]
on 30 Jun 2015 at 12:19
What steps will reproduce the problem?
1. Installed
2. Run index.php
3. 404 BBC error page
4. If changing BBC to antoher URL in the code, like geoiptool.com it will just
give an error and not 404.
What is the expected output? What do you see instead?
This is maybe just an amateur experience and maybe supposed to be like this. I
hoped that I would be able to browse another web site via proxy, or perform
scraping of the web site.
What version of the product are you using? On what operating system?
Used download version as of October 2012 (dated November 2011).
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 27 Oct 2012 at 8:17
newer php versions don't allow CURLOPT_SSL_VERIFYHOST = 1
Original issue reported on code.google.com by [email protected]
on 28 Jan 2014 at 11:26
Attachments:
What steps will reproduce the problem?
1. Simply run a valid response, the $body split() does the warn
What is the expected output? What do you see instead?
Expected output is website with 0 warn (i removed 3 just at start...)
What version of the product are you using? On what operating system?
Im really not sure, because your lastest download code is not the same then the
trunk source.
Mine is on line 85, in yours is line 92
(https://code.google.com/p/php-proxy/source/browse/trunk/index.php).
Replace:
$header_ar = split(chr(10),$header);
With:
$header_ar = explode("\r\n", $header);
// char 10 is only \n (\r is char 13 i guess), you need \r\n wichg means
carriage-Return then fee-Newline.
Original issue reported on code.google.com by [email protected]
on 4 Mar 2015 at 8:01
This is a FANTASTIC and clean and small poxy, however the included fix for
extra 'continue headers' assumes that the extra header is only one line long.
(mutli lines are often seen in ajax responses)
The fix is simple (even if mine is inellegant)
REMOVE
$response = str_replace( "HTTP/1.1 100 Continue\r\n\r\n", "", $response);
INSERT
if ( (substr( $response, 0, 21) == 'HTTP/1.1 100 Continue')
&& ($end_cont = strpos( $response, '\r\n\r\n'))
) {
$response = substr($response, $end_cont + 4);
}
Many many thanks to the original author.
--
Roger
Original issue reported on code.google.com by [email protected]
on 11 Oct 2012 at 8:59
What steps will reproduce the problem?
1. Open youtube through proxy
2. click on any video
What is the expected output? What do you see instead?
The video should stream since the youtube is not blocked in the country where
my webserver is located, but it does not stream.
What version of the product are you using? On what operating system?
I guess its the latest version, just downloaded it and I'm using windows 8 but
the server is Linux where the script is installed
Original issue reported on code.google.com by [email protected]
on 27 Jul 2013 at 1:22
What steps will reproduce the problem?
1. not unblock any blocked domain !!!!
2. I used https//
3. i replace bbc// to blocked domain and did not unblock ,t
What is the expected output? What do you see instead?
Just server not found
What version of the product are you using? On what operating system?
Please provide any additional information below.
I triad unblock some domain , But the script didnot unblock any 1.
Original issue reported on code.google.com by [email protected]
on 16 Aug 2013 at 12:45
What steps will reproduce the problem?
1. Try with http://www.ebay.de
What is the expected output? What do you see instead?
Expected Output: eBay as usual
I see only text instead, and some images.
Original issue reported on code.google.com by [email protected]
on 9 Jan 2014 at 9:46
What steps will reproduce the problem?
1. Reading Project Home
About: Preferably use the proxy on it's own domain e.g. http://proxy.xyz.com/
WHY? I found no reason to do that.
Path, domain, implementation are not a design question, so it unnecesary to say
the people where to use. It can be used also as php -f script with argv instead
a web interface.
About the comment of the POST and Sessions, Glype and Poxy handles them
perfectly. But, i like your way of that proxy.
I will suggest you to create variants over those 3 methods.
1. Using cURL
2. Using file_get_contents($var, $context)
3. Using server/client sockets.
Sometimes a little script is a really BIG value.
How do need 500Kb script to just bypass a GET connection??
WELL; DONE
Original issue reported on code.google.com by [email protected]
on 4 Mar 2015 at 6:15
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.