Reply to PHP parsing script

Your name:

Reply:


Posted by Sebosac on 04/29/07 13:39

Hi,

i need to write a php script parser but i don't really succes to wrote
one and i finaly i don't know how do this !


it seems simple for sure, however my last test was unsuccessfull, just i
want to is :

- read a php or plain text file and store us content to Array

- explode and expand the first Array line by line separing Html tag and
PHP to a Biggest Array, one line for one tag or ";"

- send the new array to a "foreach" or "while" statement and change the
keywords by they equivalent in PHP or Html

- next step, send the PHP code to an eval()


the result was stored or send to the output buffer.


my last try given an "error in eval's code" error, but the same alone
file work really fine without errors

Thank for your suggestions and helps.

Cordialy.
Sebastien.

[Back to original 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

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