I'm working through geting the raw sockets implementation to send a http
post command to a cgi-script.
But there's one thing I'm trying to figure out.
How do I create the content-length?
I don't see a obvious way but my expection would be the following code.
$string ="foo=bar&food=apple";
$contentlength=$string.size;
$uuencodestring=uuencode($string);
but I don't seem to see the easy $string.size ?
any ideas on a good way to do this?
thanks,
evan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]