How to send post to diffrent website and recive re

2019-08-29 08:04发布

问题:

i just trying to write a small php script that allow me to get information from website "link below" and load to some div on my website :

https://www.sspcrs.ie/portal/checker/home.do

info : no. 324234 is valid

回答1:

You can use curl to grab a url and include post data. Once you have the response you can echo this into your div on your page. This link demonstrates curl and post: http://davidwalsh.name/curl-post