How to post data and get the results from the action page with PHP
I've been looking for a solution to this for days. I have used all the ideas on the web such as using curl or just a simple file_get_contents function. None of them could solve the problem.

There is a web page called (let's say) ABC. This web page contains a form with just one input, let's call it ID. When you type your ID and submit it, it sends your ID to the server and print your information in another page.

I know the form page's web address but not the result page's.

What I want to do is, simply, post an ID to that form from my script and get the result page into a variable.

Is there a way which let me to do that?
How to post data and get the results from the action page with PHP
===

I've been looking for a solution to this for days. I have used all the ideas on the web such as using curl or just a simple file_get_contents function. None of them could solve the problem.

There is a web page called (let's say) ABC. This web page contains a form with just one input, let's call it ID. When you type your ID and submit it, it sends your ID to the server and print your information in another page.

I know the form page's web address but not the result page's.

What I want to do is, simply, post an ID to that form from my script and get the result page into a variable.

Is there a way which let me to do that?