Re: [PHP] eval and HEREDOC

2010-07-21 Thread Peter Lind
21, 2010 at 12:49 AM, Daevid Vincent dae...@daevid.com wrote: -Original Message- From: Sorin Buturugeanu [mailto:m...@soin.ro] Sent: Tuesday, July 20, 2010 2:11 PM To: php-general@lists.php.net Subject: [PHP] eval and HEREDOC Hello, I am having trouble with a part of my

Re: [PHP] eval and HEREDOC

2010-07-21 Thread Sorin Buturugeanu
[mailto:m...@soin.ro] Sent: Tuesday, July 20, 2010 2:11 PM To: php-general@lists.php.net Subject: [PHP] eval and HEREDOC Hello, I am having trouble with a part of my templating script. I'll try to explain: The template itself is HTML with PHP code inside it, like: div

[PHP] eval and HEREDOC

2010-07-20 Thread Sorin Buturugeanu
Hello, I am having trouble with a part of my templating script. I'll try to explain: The template itself is HTML with PHP code inside it, like: div?=strtoupper($user['name']);?/div And I have the following code as part of the templating engine: $template = file_get_contents($file); $template

RE: [PHP] eval and HEREDOC

2010-07-20 Thread Daevid Vincent
-Original Message- From: Sorin Buturugeanu [mailto:m...@soin.ro] Sent: Tuesday, July 20, 2010 2:11 PM To: php-general@lists.php.net Subject: [PHP] eval and HEREDOC Hello, I am having trouble with a part of my templating script. I'll try to explain: The template itself

Re: [PHP] eval and HEREDOC

2010-07-20 Thread Sorin Buturugeanu
wrote: -Original Message- From: Sorin Buturugeanu [mailto:m...@soin.ro] Sent: Tuesday, July 20, 2010 2:11 PM To: php-general@lists.php.net Subject: [PHP] eval and HEREDOC Hello, I am having trouble with a part of my templating script. I'll try to explain: The template

Re: [PHP] eval and HEREDOC

2010-07-20 Thread lists
: -Original Message- From: Sorin Buturugeanu [mailto:m...@soin.ro] Sent: Tuesday, July 20, 2010 2:11 PM To: php-general@lists.php.net Subject: [PHP] eval and HEREDOC Hello, I am having trouble with a part of my templating script. I'll try to explain: The template itself

Re: [PHP] eval and HEREDOC

2010-07-20 Thread Sorin Buturugeanu
: -Original Message- From: Sorin Buturugeanu [mailto:m...@soin.ro] Sent: Tuesday, July 20, 2010 2:11 PM To: php-general@lists.php.net Subject: [PHP] eval and HEREDOC Hello, I am having trouble with a part of my templating script. I'll try to explain: The template itself is HTML