well $invite will usually have a value of 10, which is found by accessing the mysql database. At first i was estatic to find that the variables were hidden in that way because one of my other problems was that if a user changed it they would have more invite codes, but i didn't think it would actually echo Resoruce id #5.
Not sure if it matters, but the method that i am sending the data is POST. This is part of a login page - partially to keep robots out (not googlebot or anything, but "competition" robots), and partially to make things more simple on myself. You put in your info, if it is accepted, you go to a page that has a submit button where you click there, and it POST's the variables, such as $invite.
I'm not completelly sure what a handle is (temp name of a file..?), but it should just be a simple integer variable.