Where is the HTML set? Why is this a REQUEST var, when you include the file above? Shouldn't this whole file be wrapped in a proper class or function context instead of simply including it into the main context?