I am trying to test a Script which I got online and
will modify later (its from devshed)... It fails to set
up a connection...
#!/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;
// create socket
Um...did you happen to modify this to have a valid IP address or host
name for $host and a valid port number for $port? It would also help to
have a valid path for $command that is going to talk to a daemon on the
port you specify (ie. making a connection to port 80 and asking for
Michael Sweeney [EMAIL PROTECTED] wrote in message
1027447470.3349.28.camel@catalyst">news:1027447470.3349.28.camel@catalyst...
Um...did you happen to modify this to have a valid IP address or host
name for $host and a valid port number for $port? It would also help to
*Obviously* I modified
3 matches
Mail list logo