Page 1 of 1

working on a specific problem, would love some input plz

Posted: Tue Mar 22, 2005 8:09 am
by irishmike2004
Greetings:

Does anyone know of a good way to capture what a webform is sending? The reason I ask is this:

I am working on my infamous weather application which takes XML from weather.com and makes the pretty display seen here:

http://radioteal.no-ip.com/miketest/weather.php

This post specifically deals with the moonphase part... what is shown is from the XML feed and basically some pictures I made to get the icon...

I would like to show moonrise, moonset, % visable as well and so far there are NO xml feeds (that I am aware of) that deal with this... there is the naval observatory and I know I can parse a web page for this data but the form is interactive... here is the link to that site:

http://aa.usno.navy.mil/data/docs/RS_OneDay.html

This is the form I would like to capture the data for so I can get the result and parse it in my application.

If any of you have a better solution, please let me know because I am all for the simplest way to handle this :-)

Thanks,

Mike

Posted: Tue Mar 22, 2005 9:14 am
by feyd

CURL would work IF...

Posted: Tue Mar 22, 2005 9:19 am
by irishmike2004
CURL is obviously a solution, but we still need to post the info from the form and that is what I need to do.

Posted: Tue Mar 22, 2005 9:24 am
by feyd
curl can post data just fine...