Il 13/09/2012 18:19, Mihamina Rakotomandimby ha scritto:
On 09/12/2012 04:53 PM, Tonix (Antonio Nati) wrote:
PHP script can freely choose which IP to bind.
PHP doesnt bind at all.
The HTTP server (Apache, Lighthttpd,...) does.
PHP is called only when the HTTP server wants (you configure it that
way): make Apache handle PHP on conditionnal REMOTE_HOST if possible
(I did not look deep into APache documentation)
PHP is like any other programming language.
After it is called by apache, he can read and write files, as well as
opening incoming and outgoing connections.
Please check carefully http://www.php.net/manual/en/book.sockets.php.
Regards,
Tonino
--
------------------------------------------------------------
Inter@zioni Interazioni di Antonio Nati
http://www.interazioni.it tonix@xxxxxxxxxxxxxx
------------------------------------------------------------
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php