"Richard Lynch" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> >#!/usr/local/bin/php -q
> > >// don't timeout!
> >set_time_limit(0);
> >
> >// set some variables
> >$host = "1.2.3.4...";
> >$port = 1234;
> >$command = "/usr/games/fortune";
>
> # I must be missing something, cuz
>#!/usr/local/bin/php -q
>// don't timeout!
>set_time_limit(0);
>
>// set some variables
>$host = "1.2.3.4...";
>$port = 1234;
>$command = "/usr/games/fortune";
# I must be missing something, cuz I don't see where this $command is
used...
>// create socket
>$socket = socket(AF_INET, SOCK_STREAM,
2 matches
Mail list logo