Is it possible to execute a shell command from within a MySQL statement, and then to do something with the output (for example, return it from a SELECT query or INSERT it)?
-thanks, --Keegan
this is called a stored procedure...
you can do it using myperl. you have to install it as a module.
otherwise, just store the code, and eval it in php....