Submitting Post Information Through fopen()
I am trying to read information from a webpage who's content changes
via a POST form (bad design maybe, but it's what I have to work
with). I can use fopen to read the original page, since that's a
simple GET, but how can I submit POST headers to the site, and read in
the response?
Re: Submitting Post Information Through fopen()
"dimo414" <dimo414 [at] gmail.com> wrote in message
news:1174544301.595456.225060 [at] d57g2000hsg.googlegroups.com.. .
|I am trying to read information from a webpage who's content changes
| via a POST form (bad design maybe, but it's what I have to work
| with). I can use fopen to read the original page, since that's a
| simple GET, but how can I submit POST headers to the site, and read in
| the response?
well, hate to say this so often...i suppose there should be a class on
internet search engines.
here's the first item i got:
http://www.webmasterworld.com/php/3164561.htm
after googling for:
'php fopen send post'
anyway, couple of examples in that link alone...much less the others
returned from google.
hth