Re: sockets
| From: | André Medeiros | Date: | Tue, 12 Jul 2005 16:00:37 +0000 |
| Subject: | Re: sockets | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-218548@lists.php.net to get a copy of this message | ||
On Tue, 2005-07-12 at 16:49 +0200, 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.
c7Cá’
> Ì=K²‰ˆðNhttp://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
>
>
You have to run your script from the command-line. Don't depend on
apache to have it running.
Also remember to set_time_limit(0) ;)