[PHP] sending AND recieving XML
Hello, I'm building this web application that has to communicate with some other web servers. This communication is done by sending and receiving XML. I discovered I don't have curl support compiled in PHP and was wondering if there are other ways to send and receive XML? 1. Perhaps I can communicate with curl by using exec (Ive installed the curl RPM package)? 2. Or perhaps fsockeropen() could do the job. In both cases I dont have any experience with any of these 2 functions. Does anyone have an example for me? Thanks, Karel
[PHP] sending and recieving XML
Hello, I'm building this web application that has to communicate with some other web servers. This communication is done by sending and receiving XML. I discovered I don't have curl support compiled in PHP and was wondering if there are other ways to send and receive XML? 1. Perhaps I can communicate with curl by using exec (Ive installed the curl RPM package)? 2. Or perhaps fsockeropen() could do the job. In both cases I dont have any experience with any of these 2 functions. Does anyone have an example for me? Thanks, Karel
[PHP] IP address
Hi all, Is it possible in PHP to determine the IP address of a server which is requesting a page from my own server? When I use $REMOTE_ADDR, I get the wrong IP address. In that case I get the IP address of a person who is requesting the page on that other server. Hopefully my question is clear enough Thanks, Karel van Zijl