hey I just realized I was not supposed to post this code online could someone either delete the thread or my username/personal info
There is no personal information in that thread. The only possible incriminating piece of info would have been the package name which I have removed from the code snippet. If you still are uncomfortable, simply change the profile information which you have entered and you should be golden.
How about posting coursework, which then cannot be used for assessment? Dunno if this is the real case, but I remember some guys in the php forum a while back having an absolute freak about this.