@: First off, welcome to PHPBuilder!
Second, I've moved your thread to the Code Critique forum; here, you can feel free to post up as much code as you deem relevant/necessary and ask for critiques as to how it could be improved (including topics such as security).
You can try posting your code in the body of your next post (don't forget to surround it with [noparse]
..
[/noparse] bbcode tags, though!), but if it won't fit due to the character limit, you can instead try attaching the files to your next post. Below the "Reply to Thread" main table, you should see an "Additional Options" table that includes a "Manage Attachments" button. If you don't, let me know - it's possible that this feature isn't enabled for new users and we'll have to figure something else out.