Re: Question about fsockopen
| From: | Hans Juergen von Lengerke | Date: | Mon, 11 Apr 2005 13:04:26 +0000 |
| Subject: | Re: Question about fsockopen | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-212797@lists.php.net to get a copy of this message | ||
> Date: Sun, 10 Apr 2005 08:00:23 -0000 (UTC)
> From: php@warningnews.com
>
> I have several IP in one interface (eth0) in my server and I want make
> connection to another server (check email, etc) using different ip for
> every mail server. I was read the document, and there is no way how to
> make this happen. Any idea?
You can do this with the CURL Extension, but then that
limits you to the protocols supported by CURL. If that
doesn't matter, take a look at CURLOPT_INTERFACE in
curl_setopt()
I'm afraid, I don't know how to do this with fsockopen() and
weather it is possible at all.