Hello, found this Ajax example below
“Getting Data from Another Site” in Ajax made Simple
It is using also a php part.
Can I use this to read the file from the url “http://www.celestrak.com/NORAD/elements/stations.txt”?
Should I make modifications to the text?
Where to put this php part?
Thanks for any help.
Jan (NL)
Function btnGetFile_onclick()
req=Ajax(“ajaxGetURL.php/?urlToGet=” & encodeURIComponent(txtURL.value))
If req.status=200 Then 'success
htmResponse.innerHTML=req.responseText
Else 'failure
htmResponse.innerHTML=req.err
End If
htmResponse.refresh()
End Function