I don't have time to look over it completely(school) but a quick look over of the php and I have one question,
What's the "do" variable do
A sorta-educated guess leads me to something like a password, ie if it's correct then it lets you, else you go back?
Edit:
Sadface, I'm not home right now, and was planning on Remote desktoping to mah comp to try out the code, but turns out that somebody accedently bumped the network cables for BOTH my computers, so I have no access. I may or may not be able to stop by home tonight and get them fixed, but if I don't, then I have to take a bus home tomorrow to fix it. Till then, I can't see the VB code
(I'm on a mac)