I am new to php. According to
http://board.phpbuilder.com/showthread.php?10327465-RESOLVED-PayPal-Curl-Script-to-Download-Transaction-History
I customised a script to download paypal history. It works well for 2 months. Yesterday, the download history file suddenly turned to Chinese but I want to have English.
Googling doesn't help me to find out nor solve the problem, I actually don't know how to describe the search criteria.
Tried to add codes like:
$header[]="Accept-Language:en-us,en;q=0.5";
$header[]="lang='en'";
$header[]='lc=en';
but doesn't help. I see the /tmp/paypal_cookies has entry:
#HttpOnly_.paypal.com TRUE / TRUE 1704237079 LANG zh_HK%3bHK
Tried to use a browser to download the history file manually, and it is in English. How can I code in the .php script to make it download English history file ?