Hi there,
I think you forgot to escape a few "'s
."User-Agent: PhpDig/".PHPDIG_VERSION." (+<a href=\"http://www.phpdig.net/robot.php\" target=\"_blank\">http://www.phpdig.net/robot.php</a>)".END_OF_LINE_MARKER.END_OF_LINE_MARKER;
I think this would work better. Otherwise I am getting a parse error.
Mr. L