|
|
|
1 registered members (PeroPero),
3,217
guests, and 2
spiders. |
|
Key:
Admin,
Global Mod,
Mod
|
|
|
Re: execute
[Re: HPW]
#71822
04/23/06 18:44
04/23/06 18:44
|
Joined: Jan 2003
Posts: 4,615 Cambridge
Joey
Expert
|
Expert
Joined: Jan 2003
Posts: 4,615
Cambridge
|
Quote:
How would you do it?
i'd use c++ to filter out the disallowed stuff. (istringstream, readline, substr, replace...) translate the string into single instructions (; as separator) into a list, and delete everything that's illegal.
joey.
|
|
|
|
|
|
|