Ok guys this is driving me crazy.
I have done a little php and I like it but I have this problem.
I know how to pass data by url and receive it from the url with GET and POST.
But now I have a url specifically.
If you load this page to browser it will give the current price of silver in $AUD/ ounce However I don’t want to load the page in the browser. I just want to get the price to work with in my own page.
In just html an Iframe will load the URL like so
However if I use php to try to get a value like so
<?php $_GET = "http://dendritics.com/scales/metal-calc.asp?WeightU=1&Units=ozt&Metal=Ag&PurityC=.999&Purity=0.999&PrOzt=&CurrencyN=AUD&Markup=0"; echo $_GET; $v1 = $_GET['WeightU']; $v2 = $_GET['Units']; $v3 = $_GET['Metal']; $v4 = $_GET['PurityC']; $v5 = $_GET['CurrencyN']; $v6 = $_GET['PrOzt']; echo "Variable One Value: $v1Variable Two Value: $v2
Variable Two Value: $v3
Variable Two Value: $v4
Variable Two Value: $v5
Variable Two Value: $v6 "; ?>
It runs ok but will not give me the values it comes back with a list like this .
Variable Two Value: h
Variable Two Value: h
Variable Two Value: h
Variable Two Value: h
Variable Two Value: h
Where in Gods name is it getting all the hs from ???
I don’t want the page loaded in an I fram or a browser I just want the price value to work with .
How can I do this .
Please help O wize ones.