I want to pass two variables from page1 as Httprequest to page2 which stored in different location. there with these variables performs some actions, and results have to return to page1. How to do it in php as HttpRequest Post call..
You can make an ajax call to do this...
Since you're asking about this as PHP, it sounds like sending data client-side that has no business client-side. Sounds like a job for sessions.