Board index   FAQ   Search  
Register  Login
Board index php forum :: Database mySQL & php coding

Sending data to third-party server then retrieving data back

Codes here !

Moderators: macek, egami, gesf

Sending data to third-party server then retrieving data back

Postby phpisfree » Fri Aug 31, 2012 12:16 am

Is this possible within PHP:

1. User fills in form on my site
2. The form submits the data from the form to a third-party server somewhere else on the net, essentially handing off the data to the third-party server somehow
3. Said third-party server does something with the data and then generates a numerical value to send back to my PHP script
4. My server/PHP script gets that numerical value/data for use in the script again

Is it doable in PHP? Does PHP have inbuilt functions to perform the above tasks? Would such a thing require tons of advanced code or is it relatively easy to do?

Thanks in advance for any help on the matter
New php-forum User
New php-forum User
Posts: 1
Joined: Fri Aug 31, 2012 12:14 am

Re: Sending data to third-party server then retrieving data

Postby johnj » Thu Sep 13, 2012 8:28 am

Yes, this is doable in php. This neither that complicated nor does it require tonnes of code. Please read about php curl which will help you build this.
php-forum Super User
php-forum Super User
Posts: 1805
Joined: Thu Mar 10, 2011 5:07 pm

Return to mySQL & php coding

Who is online

Users browsing this forum: No registered users and 2 guests

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.