hello I am writing a c# comand line application which interacts with mysql db. I read some text on the db that may be php code or asp code. Is there any way to eval or interpretate this code inside c#
I\'m trying to call object properties dynamically. I have solved the problem with eval() but i know that eval is evil and i want to do this on a better and safer way. My eval code:
I have a set of javascript classes that I use throughout my app. In开发者_如何学JAVA one case I want to eval some json from an ajax response whose shape matches one of my classes.
I开发者_如何学Python\'m pretty sure eval doesn\'t work this way, but it gets the idea across. I\'m trying to dynamically create global variables; here\'s my code:
I\'m using django-transmeta (couldn\'t get anything else working better with django 1.2.5) which creates several columns in a table like: content_en, content_es, content_it
I want to disallow access to file system from clients code, so I think I could overwrite open function
I was just wondering if PHP has a function 开发者_C百科that can take a string like 2-1 and produce the arithmetic result of it?
I want to be able to put PHP into the database and run it.I have to do this because I store page layouts in the database and each our different for each other, however in some cases I want to use dyna
I have this line in a class function: $this_value = eval(\"return $$existing_value;\"); This gives me the valu开发者_Go百科e I need when the $$existing_value variable is set in the function, but I\
Do any .NET/CLR languages supp开发者_如何学Pythonort an eval function and also allow calling into standard .NET code (e.g. calling into C# code)?I know that neither F# nor C# support eval.Are there an