Process External Form Script

I need to be able to process an external form script from inside a view. Where should i put it? How would i reference it inside the view?