PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Is there a way to simulate user request of a remote page (on another server) and get the contents of the output? To make it more clear: normally some user submits a form on somesite.com and as a result gets the HTML output on that site. I want to do this: some user submits a form on mysite.com (which is actually submitted to somesite.com) and I want to modify the HTML output generated by somesite.com (the HTML should be identical to that outputted if the user submitted the form on somesite.com itself) and display it on mysite.com. Is there a way to do this kind of stuff?