dongan
09-05-2005, 07:16 AM
Hi,
I want to read the currency rates from Worldpay and update the exchange values in the database.
I should do it in PHP. This is my code..
$myfile = file("https://select.worldpay.com/wcc/info?op=rates&instId=xxxxx");
I have also tried file_get_contents, fread.
But, i receive the following error message...
file(https://select.worldpay.com/wcc/info?op=rates&instId=xxxxx): failed to open stream: No such file or directory in /usr/local/psa/home/vhosts/xxxxx.com/httpdocs/rate.php on line 25
But, maually i am able to open the file in browsers.But, when i call the HTTPS file through a PHP file, i get this error message.
Importantly, it was working well for the past 2 months. Bu,t suddenly, from the last week, it does't work and gives the error message. I have checked with my hosting and Worldpay. No progress. Any suggestions/help would be greatly appreciated.
Regards,
Dongan
I want to read the currency rates from Worldpay and update the exchange values in the database.
I should do it in PHP. This is my code..
$myfile = file("https://select.worldpay.com/wcc/info?op=rates&instId=xxxxx");
I have also tried file_get_contents, fread.
But, i receive the following error message...
file(https://select.worldpay.com/wcc/info?op=rates&instId=xxxxx): failed to open stream: No such file or directory in /usr/local/psa/home/vhosts/xxxxx.com/httpdocs/rate.php on line 25
But, maually i am able to open the file in browsers.But, when i call the HTTPS file through a PHP file, i get this error message.
Importantly, it was working well for the past 2 months. Bu,t suddenly, from the last week, it does't work and gives the error message. I have checked with my hosting and Worldpay. No progress. Any suggestions/help would be greatly appreciated.
Regards,
Dongan
