Skip to content

Notice: Undefined index: HTTPS in C:\wamp\www\index.php on line 34 #7

@GoogleCodeExporter

Description

@GoogleCodeExporter
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:

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions