PHP show the content of another domain -- 2

Job ID: 35445721

Budget: $10 – $30 USD

I am searching PHP specialist who could write code that will show the content of another domain.

Show content of the home domain page:
We put the PHP code to make: https://main.com/
show the content of: https://domain.com/

Show content for token:
We put the PHP code to make: https://main.com/?s=ANY-SEARCH-VALUE
show the content of: https://domain.com/?s=ANY-SEARCH-VALUE

Show the content of the path:
We put the PHP code to make: https://main.com/path/
show the content of: https://domain.com/path/

Show the content of the path with any value:
We put the PHP code to make: https://main.com/path/ANY-PATH-VALUE
show the content of: https://domain.com/path/ANY-PATH-VALUE
Related categories: PHP CakePHP Symfony PHP Smarty PHP PhpNuke