Re: Using the echo tag...
| From: | Paul Williams | Date: | Wed, 09 Nov 2005 14:45:15 +0000 |
| Subject: | Re: Using the echo tag... | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-225431@lists.php.net to get a copy of this message | ||
<?php
print <<<EOF
<HTML>
$_SERVER['PHP_SELF']
</HTML>
EOF;
?>
Here's the coding and the error for it was this:
Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in C:\Program Files\Abyss Web Server\htdocs\document1.php on line 6 "Thank you. Sincerely, Paul Lee Williams III
From: "Richard Lynch" <ceo@l-i-e.com> Reply-To: ceo@l-i-e.com To: "Paul Williams" <retched@hotmail.com> CC: php-general@lists.php.net Subject: Re: [PHP] Using the echo tag... Date: Tue, 8 Nov 2005 19:25:12 -0600 (CST) MIME-Version: 1.0 Received: from o2.hostbaby.com ([67.139.134.202]) by mc5-f37.hotmail.com with Microsoft SMTPSVC(6.0.3790.211); Tue, 8 Nov 2005 17:25:08 -0800 Received: (qmail 79084 invoked by uid 98); 9 Nov 2005 01:25:13 -0000 Received: from 127.0.0.1 by o2.hostbaby.com (envelope-from <ceo@l-i-e.com>, uid 1013) with qmail-scanner-1.25 (clamdscan: 0.70-rc. Clear:RC:1(127.0.0.1):. Processed in 0.157818 secs); 09 Nov 2005 01:25:13 -0000 Received: from unknown (HELO l-i-e.com) (127.0.0.1) by localhost with SMTP; 9 Nov 2005 01:25:12 -0000Received: from 67.108.68.36 (SquirrelMail authenticated user ceo@l-i-e.com) by www.l-i-e.com with HTTP; Tue, 8 Nov 2005 19:25:12 -0600 (CST)X-Message-Info: JGTYoYF78jEHjJx36Oi8+Z3TmmkSEdPtfpLB7P/ybN8= X-Qmail-Scanner-Mail-From: ceo@l-i-e.com via o2.hostbaby.com X-Qmail-Scanner: 1.25 (Clear:RC:1(127.0.0.1):. Processed in 0.157818 secs)References: <5066.67.108.68.36.1131491998.squirrel@www.l-i-e.com> <BAY103-F26B626DEB0C3C542DF29E5A6640@phx.gbl>User-Agent: Hostbaby Webmail Return-Path: ceo@l-i-e.com X-OriginalArrivalTime: 09 Nov 2005 01:25:09.0224 (UTC) FILETIME=[6C5A3680:01C5E4CC] On Tue, November 8, 2005 5:32 pm, Paul Williams wrote: Nope sorry. It says this error " Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in C:\Program Files\Abyss Web Server\htdocs\document1.php on line 6 " Show us EXACTLY what you have in lines 1 through 6. Not just sorta. Copy-n-paste it. Or put it up on the web as TEXT output. Odds are pretty good your real mistake is in line 5 or even before that. -- Like Music? http://l-i-e.com/artists.htm