I am working with an encoded script that references either the directory name or filename and the function name must match.
I want to be able to change the directory / filename, so the function name needs to change too, based on the filename or directory name.
It may now be an elegant solution, but i do need to define the function name based on the content of a variable.
I will read the eval() information, but could you perhaps give me an example of how something like this could be done?
Just like in the example, I need to have the function name change based on the variable defined.