GoldCoin Talk
Main Category => Technical Discussion => Topic started by: Dayne on June 12, 2013, 09:52:53 PM
-
Hey, if somebody could tell me the php/jquery/ajax/etc command that I need to use to fetch data from (for example) http://gld.cryptocoinexplorer.com/chain/Goldcoin/q/totalbc, I can use my skills as a digital native and Google the [beep] out of that and get some form of statistics page up and running.
I'm not a programmer. I just need to know what command I should use, in what language.. jQuery.get? I am not sure, but a snippet of example code to display the contents of the page I linked should more than suffice for me to whip up something.
-
iFrames?
e.g.
<iframe src="http://gld.cryptocoinexplorer.com/chain/Goldcoin/q/totalbc"/>
-
Nooo. I mean, I can do that. And I know html, I could have used that method but that's an obtuse way of going about it, it's better if I actually fetch the data on the page, rather than displaying the page itself.
-
Hey, if somebody could tell me the php/jquery/ajax/etc command that I need to use to fetch data from (for example) http://gld.cryptocoinexplorer.com/chain/Goldcoin/q/totalbc, I can use my skills as a digital native and Google the [beep] out of that and get some form of statistics page up and running.
I'm not a programmer. I just need to know what command I should use, in what language.. jQuery.get? I am not sure, but a snippet of example code to display the contents of the page I linked should more than suffice for me to whip up something.
Well since you mention php, php can be a bit odd here, as it depends on how the php you are using was built. If it was compiled with the option to support urls in the file commands, which is not unusual.
$page = file_get_contents('http://gld.cryptocoinexplorer.com/chain/Goldcoin/q/totalbc');
If not then the next usual case is to use the curl binding to do it.