[PHP] sending AND recieving XML

2002-12-19 Thread K.C.P. van Zijl
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 (I’ve installed the
curl RPM package)? 

2. Or perhaps “fsockeropen()” could do the job.

 

In both cases I don’t have any experience with any of these 2 functions.
Does anyone have an example for me?

 

Thanks,

Karel




[PHP] sending and recieving XML

2002-12-19 Thread K.C.P. van Zijl
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 (I’ve installed the
curl RPM package)? 

2. Or perhaps “fsockeropen()” could do the job.

 

In both cases I don’t have any experience with any of these 2 functions.
Does anyone have an example for me?

 

Thanks,

Karel




[PHP] IP address

2003-01-24 Thread K.C.P. van Zijl
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