Re: Using the echo tag...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



<?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@xxxxxxxxx>
Reply-To: ceo@xxxxxxxxx
To: "Paul Williams" <retched@xxxxxxxxxxx>
CC: php-general@xxxxxxxxxxxxx
Subject: Re:  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@xxxxxxxxx>, 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 -0000 Received: from 67.108.68.36 (SquirrelMail authenticated user ceo@xxxxxxxxx) 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@xxxxxxxxx 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@xxxxxxxxxxxxx> <BAY103-F26B626DEB0C3C542DF29E5A6640@xxxxxxx>
User-Agent: Hostbaby Webmail
Return-Path: ceo@xxxxxxxxx
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



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux