allora... aggiungo che ho fatto un nuovo copia ed incolla di tutto il codice indicato da paypal. il risultato è che ora va sempre in errore. questi i valori stampati:
HTTP/1.1 200 OK
Date: Fri, 12 Sep 2008 18:54:44 GMT
Server: Apache
Content-Length: 7
Set-Cookie: cookie_check=yes; expires=Mon, 10-Sep-2018 18:54:44 GMT; domain=.paypal.com; path=/
Set-Cookie: navcmd=_notify-validate; domain=.paypal.com; path=/
Set-Cookie: navlns=0; expires=Thu, 07-Sep-2028 18:54:44 GMT; domain=.paypal.com; path=/
Set-Cookie: Apache=10.190.8.11.1221245684214133; path=/; expires=Thu, 31-Jul-02 12:26:28 GMT
Keep-Alive: timeout=5, max=100
Connection: Keep-Alive
Content-Type: text/html; charset=UTF-8
INVALID