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!
I need to send a post request to a remote server and receive an xml doc in response. Iunderstand that I need to use header() but keep getting a 500 (Internal Server) error - in the server log it says "bad header". This is the header I want to send:
Thanks Jason, and may I say you're looking particularly lovely today. This fixes my first prob, in that the header is now sent. It's not doing what I want at the other end but that's another story......!