News for hackers. Stuff that matters.
Re:PayPal just told customers to incorrectly update their IP... by GigabyteCoin on Wednesday September 12, 2012 @06:36PM (#4513640)
Well this is the exact script I was sent just 1 hour ago from PayPal themselves:

    PHP
    // post back to PayPal system to validate
    $header .="POST /cgi-bin/webscr HTTP/1.1\r\n";
    $header .="Content-Type: application/x-www-form-urlencoded\r\n";
    $header .="Host: 'www.paypal.com\r\n';;
That error in the last line is evident in Gmail's "show original" text as well.

How is it that I could be getting an incorrect script when other people are getting the correct one?

Re:PayPal just told customers to incorrectly update their IP... by dalke on Thursday September 13, 2012 @03:47AM (#4515182)
Because it's the correct script, but it doesn't refer to what you think it does. It's in the HTTP request that your code is supposed to send to PayPal. You need to make that be HTTP/1.1 compliant. It's not supposed to be in the user-facing code.
Re:PayPal just told customers to incorrectly update their IP... by eurleif on Thursday September 13, 2012 @03:51AM (#4515189)
There are two semicolons on the last line, and single-quotes that shouldn't be there.
Re:PayPal just told customers to incorrectly update their IP... by dalke on Thursday September 13, 2012 @04:17AM (#4515244)
Indeed. And those are not in the version which I found elsewhere. My apologies for not seeing it the first time and for implying that the original poster did not understand things correctly.

The email I was going on was posted to http://www.ecommercetemplates.com/support/topic.asp?TOPIC_ID... . This does not have the quotes nor the double semicolon, and is correct. So is the one at http://www.webassist.com/forums/showthread.php?t=27871 .

However, the email posted to http://www.tipsandtricks-hq.com/forum/topic/paypal-updates-a... does have that error. In that case, the Java is also malformed, saying uc.setRequestProperty("Host",;'www.paypal.com';);

If this is a form of email corruption, it is not one I recognize.