working on a specific problem, would love some input plz

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
irishmike2004
Forum Contributor
Posts: 119
Joined: Mon Nov 15, 2004 3:54 pm
Location: Lawrence, Kansas

working on a specific problem, would love some input plz

Post 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
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

irishmike2004
Forum Contributor
Posts: 119
Joined: Mon Nov 15, 2004 3:54 pm
Location: Lawrence, Kansas

CURL would work IF...

Post 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.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

curl can post data just fine...
Post Reply