how to get data from another server in php
i want to make pages like this 
server1 sends request to server2 using Jquery Autocomplete plugin. server 2 receive request from server 1 and get data itself from data base and send data to server 1
plz help me out of this will be thankful to u.
how to get data from another server in php
===

i want to make pages like this 
server1 sends request to server2 using Jquery Autocomplete plugin. server 2 receive request from server 1 and get data itself from data base and send data to server 1
plz help me out of this will be thankful to u.