
Originally Posted by
chet
Hi all
I want to fetch and inclide a webpage so I do not have to keep updating it myself, the site is a football league table which gets updated weekly.
How would I include
http://full-time.thefa.com/TablePF.d...season=3946147 into one of my own webpages
Cheers for your help
Chet
Hey try this
PHP Code:
<%
' Intruduce the url you want to visit
GotothisURL = http://full-time.thefa.com/TablePF.do?divisionseason=3946147
' Create the xml object
Set GetConnection = CreateObject("Microsoft.XMLHTTP")
' Conect to specified URL
GetConnection.Open "get", GotothisURL, False
on error resume next
GetConnection.Send
' ResponsePage is the response we will get when visiting GotothisURL
ResponsePage = GetConnection.responseText
' We will write
if ResponsePage="" then
Response.write("The page is not available")
else
Response.write(ResponsePage)
end if
Set GetConnection = Nothing
%>
Bookmarks