php connect to a server

Ok I need to do something fairly abstract which I have no idea how to do:

  1. user uploads a .doc through a form to a temporary file on the hosting server.
  2. The hosting server then connects to a separate server that a company uses to share information across it, the ip address is known as well as log in details.
  3. The file is then moved to a specific folder on the company server not the website hosting server.
  4. The absolute address is then embedded into a MYSQL database and then printed out onto a webpage.

so far I have no idea how to do any of these steps as I am an absolute beginner.
HELP!!!

Sponsor our Newsletter | Privacy Policy | Terms of Service