What is the .sql file doing? Why are you wanting to execute SQL from a file in a (shared) file path? Is it so that it can be dynamic? Is it procedurally generated perhaps? There are far safer ways than just executing a .sql file. Like John said, if anyone has access to modify it, they could easily do a huge amount of damage.
Thom~ Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does :-P Please always remember to encapsulate your code in IFCode Markup. For example [code=sql] [/code]. Click here to read Jeffs Guide on how to post SQL questions, and get swift and helpful answers from the community
|