You should use/run it via PHP-CLI. It is a shell script. Ex: /usr/local/bin/php socket.php (on linux) or C:\PHP\php.exe socket.php (on windooz/M$-dos) Good luck. Hidayet Dogan On Tue, 12 Jul 2005, daro wrote:
Hi. I'm writing a TCP/IP server and client. On your website I found ready php script http://pl2.php.net/sockets but I have a question. For TCP/IP server the example script from your website has to be put on server as index.php file and the access to it could be f.e. http://192.168.1.11/index.php ? I don't know where should I put this script to be able to receive all datas and respond with proper strings. Your sincerely Dariusz Chorążewicz ------------------------------------------------------------- Rozwiązania sms www.statsms.net, www.smscenter.pl GG: 346444 Tel: 696 061 543
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php