# php connect to a server

**URL:** <https://www.phphelp.com/t/php-connect-to-a-server/17794>\
**Category:** General PHP Help\
**Created:** [July 25, 2012, 8:57am UTC](https://www.phphelp.com/t/php-connect-to-a-server/17794 "2012-07-25T08:57:17Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![bowellmj](https://www.phphelp.com/letter_avatar_proxy/v4/letter/b/4bbf92/32.png) [@bowellmj](https://www.phphelp.com/u/bowellmj)\
**Post date:** [July 25, 2012, 8:57am UTC](https://www.phphelp.com/t/php-connect-to-a-server/17794/1 "2012-07-25T08:57:17Z")

</div>

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!!!
