famous58 Posted March 2, 2006 Share Posted March 2, 2006 Hello all.I've run into a problem that I know I will encounter again and I'm not sure how this is to be done. I am a novice coder and am able to validate a form and write simple if else statements using variables, etc.However, I am now building something using an API interface. A GET method is required when sending the data to the 3rd party, and they in turn send back either txt, html or a xml response. My question is how do I read that response on the back end and then continue on in my site. For example, to check a domain names availability, one would enter the desired domain name and hit submit. I can build that form no problem. But where does the next page go? Since it is a get method I obviously need to hide my values so I assume I would use a POST to go to a "check" page, capture those variables the 3rd party requires and then send them from the "check" page, which I do not know how to do. Then a response will come back (to where I'm not sure). I then need to check that reponse (I'm assuming on the same "check" page somehow) and then issue some kind of resopnse to my user saying either "true" or "false".Hopefully this makes sense and there is a simple solution to my problem that am not aware of. T.I.A. for any help. Link to comment https://forums.phpfreaks.com/topic/3932-pulling-variables-from-3rd-party-return-page/ Share on other sites More sharing options...
rajivgonsalves Posted October 25, 2007 Share Posted October 25, 2007 Well you can try out the CURL function in PHP... following is the link [url=http://in.php.net/curl]http://in.php.net/curl[/url] Link to comment https://forums.phpfreaks.com/topic/3932-pulling-variables-from-3rd-party-return-page/#findComment-377862 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.