You are here: Re: Something like eval... « PHP Programming Language « IT news, forums, messages
Re: Something like eval...

Posted by IchBin on 09/01/06 18:56

talthen.z-serwera.o2@nospam.pl wrote:
> Hello,
> I have a php file with php and html code. It looks like this:
>
> <html> ...<? ... ?> </html>
>
> If I had this file on disk then I could just include it, but I have this
> file in string.
> When I eval() the string I got a parse error. How can I execute it?
>
> Regards,
> Talthen
>
>
Make sure you have 'short_open_tag = on' in your php.ini or try this:

<html> ...<?php ... ?> </html>

--
Thanks in Advance...
IchBin, Pocono Lake, Pa, USA http://weconsultants.phpnet.us
'If there is one, Knowledge is the "Fountain of Youth"'
-William E. Taylor, Regular Guy (1952-)

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация