socket question

From: Date: Wed, 24 Oct 2001 22:56:12 +0000
Subject: socket question
Groups: php.general 
Request: Send a blank email to php-general+get-72181@lists.php.net to get a copy of this message
Hey. Anoyone know how i would go about using one of the internal variables, such as phpinfo() or phpcredits() to send through a socket. like for: write ($msgsock, ":RWorld PRIVMSG $pnum :phpcredits()\n", strlen (":RWorld PRIVMSG $pnum :phpcredits()\n")); so it sends the actual information instead of just "phpcredits()". I have tried with $credits = phpcredits(); and placed the $credits in the line above, but that seemed to echo it to my console then send the number 1 through the socket. Any help on this would be greatly appreciated :) Tim

« previous php.general (#72181) next »