Any chance someone will come up with an updated version using CURL to access European Central Bank? My server has allow_url_fopen disabled for security purposes. Thank you all.
Any chance someone will come up with an updated version using CURL to access European Central Bank? My server has allow_url_fopen disabled for security purposes. Thank you all.
Hello Kuroi,
Thats okay. Thanks for the correction by the way. I imagine its difficult to check so much code.
Regards,
Heathenmagic
Where can I adjust the spread?
(The difference between the actual rate and the one that is posted on the website?)
Thanks!
Kuroi Web Design and Development | Twitter
(Questions answered in the forum only - so that any forum member can benefit - not by personal message)
Hi, just a quick question, it is better to use the curled version by Nogal (post #85) than the one in the download area, correct?
I haven't looked at the curled version, but if it works for you, go with it. It's less likely to stop working in the future as a result of upgrades by your host.
Kuroi Web Design and Development | Twitter
(Questions answered in the forum only - so that any forum member can benefit - not by personal message)
Hi I have just uploaded currency_update_curled.php
I wrote on line 17 DEFINE('/public_html/magicmods','');
I created a a Cronjob
a Table shows
www.magicmods.com/images/Cron.tiff
It doesn't seem to work, I've put my email in but I'm not getting any error logs sent to me.
Are my paths correct?
Thanks
Iain
did you read my previous posts on how I did it in my server control panel?
yes, i'm receveiving thw following errors in my email:
<br />
<b>Warning</b>: file() [<a href='function.file'>function.file</a>]: URL file-access is disabled in the server configuration in <b>/home/(my username)/public_html/egt/zencart/currency_update.php</b> on line <b>37</b><br />
<br />
<b>Warning</b>: file(http://www.ecb.europa.eu/stats/eurof...xref-daily.xml) [<a href='function.file'>function.file</a>]: failed to open stream: no suitable wrapper could be found in <b>/home/(my username)/public_html/egt/zencart/currency_update.php</b> on line <b>37</b><br />
<br />
<b>Warning</b>: Invalid argument supplied for foreach() in <b>/home/(my username)/public_html/egt/zencart/currency_update.php</b> on line <b>40</b><br />
Kuroi Web Design and Development | Twitter
(Questions answered in the forum only - so that any forum member can benefit - not by personal message)