however when I uploaded this script to web hosting server, the authentication did not work.
Somebody can explain why this script doesn't work on webserver.
**Authorization : Basic " . base64_encode(" $username:$pass word")**
script:
Code:
$url = 'http://xxx.xxx.xxx.xxx:9080/apex/api/query?filtername=UNITSUMM&PARM_CONTAINER=containerNo&operatorId=BIG&complexId=KSA&facilityId=DMM&yardId=RRY';