On 4/30/07, Philip Thompson <prthomp@xxxxxxxx> wrote:
Ok, let's gather some stats to see how many people actually use the heredoc syntax. I created this quick little form to gather the data. It's takes 2 seconds (literally) - vote here: http://thril.uark.edu/heredoc/
If you're not using it you're working yourself way too hard. echo "=== UPLOAD FILE ===\n"; echo "CLIENT: " . $_SERVER['REMOTE_ADDR'] . "\n"; echo "BROWSER: " . $_SERVER['HTTP_USER_AGENT'] . "\n"; echo "TIME: " . date("Y-m-d H:i:s") . "\n"; echo "ENCODED: $encoded\n"; echo "UID: $uid\n"; echo "PATH: $path\n"; echo "EMAIL: $email\n"; echo "PROJECT: $prj\n"; echo "LENGTH: " . $_SERVER['CONTENT_LENGTH'] . "\n"; echo "\n"; Versus: $date = date( 'Y-m-d H:i:s' ); echo <<<EOF === UPLOAD FILE === CLIENT: $_SERVER[REMOTE_ADDR] BROWSER: $_SERVER[HTTP_USER_AGENT] TIME: $date ENCODED: $encoded UID: $uid PATH: $path EMAIL: $email PROJECT: $prj LENGTH: $_SERVER[CONTENT_LENGTH] EOF; -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php