Just to add to what Feyd has said...
Polymorphic code is usually refered to as code which changes dynamically...
Viruses have been know to do this...to change their signature so scanners had a difficult time detecting them...
Although what you have described is not so much polymorphic code as it is emulating a compiler compiler, taking one language to write another is generally referd as just that.
Using PHP eval() would be more analogous to polymorphic code...although I would personally technically, it's the ability to dynamically execute code.
You would have to pysically change your PHP source text before I would call it polymorphic...
Just my 2 cents
Pondering... Multi-dimensional programming
Moderator: General Moderators
I just think it's cool dynamically writing javascript... never really done it before. Check it out: (I know it needs some work and it doesn't work in IE yet, but still cool!!)
http://www.mc2design.com/google/
It's pulling coordinates for those counties from a database and writing the javascript... way cool IMO
http://www.mc2design.com/google/
It's pulling coordinates for those counties from a database and writing the javascript... way cool IMO
- Chris Corbyn
- Breakbeat Nuttzer
- Posts: 13098
- Joined: Wed Mar 24, 2004 7:57 am
- Location: Melbourne, Australia