[PHP] POSTing to another site

I’m writing a blog, and I want to make sure that all my pages validate as XHTML. I want to let people post comments, but they might not post validating HTML.

So I thought I’d use the W3’s XHTML validator(saves me a lot of work)

The problem with this is that the W3’s XHTML validator accepts data via POST only, and not GET:trout:.

Does anyone know how I can send info to another page on a whole different server using POST, and then read the data sent back?

I know how to use fopen() to manipulate data for GET pages, it’s just POST that is the problem.

Thanks :slight_smile: