I need a way to upload a file and POST it into php page...
My php page is:
You need to use a form-multipart encoded post for PHP to be able to read it the way you are attempting. This website outlines a good way to do it and has links to libraries that can help you out.