Re: PHP Code Not Understood
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.php archive

Re: PHP Code Not Understood

From: jamen <jamen@invalid>
Date: Sat Oct 15 2005 - 17:08:26 CEST

Bruce A. Julseth wrote:
> I picked up someone elses code and it has the following in it:
>
> $curr_cat_name = <<< END
>
> in this area there is some unquoted HTML, followed by
>
> END:
>
> My Apache server doesn't like it.

END;

with a semicolon. And be aware:

semicolon _must_ be the last character on this line after END, not even
a space must be present
Received on Tue Oct 18 02:41:37 2005