You are here: Re: Specify a source address/interface to use when using fsockopen « PHP Programming Language « IT news, forums, messages
Re: Specify a source address/interface to use when using fsockopen

Posted by Erwin Moller on 11/24/06 13:16

phiberoptick@gmail.com wrote:

> I am looking for a way to specify which IP or interface to use as the
> source when calling fsockopen on a server with multiple IP's.
>
> Any help or direction would be much appreciated.
>
> -Ronan

Hi Ronan,

source?
Don't you mean target?
You want to open a socket from you current machine (that runs PHP and uses
the fsockopen()) to some other (possibly the same) machine.

Did you look at www.php.net and looked up the function? I has a link to
Appendix O that contains some examples for valid targets.

It is of course also entirely possible I completely misunderstood your
question. :-)

Regards,
Erwin Moller

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация