Reply to Re: Parsing Question...

Your name:

Reply:


Posted by cjl on 02/10/07 19:29

Toby:

That is the single best response ever given to a newsgroup post. Thank
you.

Obviously, I have got a lot of reading to do.

I'm wondering if there is a simpler approach...after all, I want the
user input to be valid php, I just want to limit what they can type to
a few functions I write ( circle(), line(), etc..) and a few control
structures. Maybe I could create an object which includes member
functions which override all native php functions, and have the user
input actually be calls to that objects methods, and only pass through
the ones that I want to allow?

As far as the approach you are suggesting, some googling showed:
http://greg.chiaraquartet.net/archives/138-PHP_ParserGenerator-and-PHP_LexerGenerator.html

Which maybe can help me?

Anyway, back to the drawing board.

-CJL

[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

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