I can't seem to get HTTPSocket to give me what HTMLViewer (correctly) gives me.

Here's the URL:

 URL1 = "http://stevemorse.org/jcal/latlon.php?cookie=&hidden=&doextra="; _
 + "&time=1150629157581&addr2latlon=1&address=" _
 + "5927%20Ridge%20Avenue" + "&city=" _
 + "Philadelphia" + " &state=" _
 + "PA" + "&zip=" _
 +  "19128" + "&country=US&latlon2addr=0&latitude=&longitude="

If I do the following:

  HTMLViewer1.LoadURL URL1

I get the right page, but if I do the following:

  Temp1 = HTTPSocket1.Get(URL1, 0)

I seem to get the HTML for a different page altogether. (It's certainly not what I get if I go to that URL and "View Source" with a regular Web browser.)

Anyone have any idea what's happening here? How can I get HTTPSocket to show me the source code (i.e., put the source code into a string) for that URL?

I'm probably doing something stupid, but I can't figure out what.

Barry Traver

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to