one php sending data to another PHP

I have a php program (alpha.php) which receives $_POST from an HTML source.

The alpha.php program examines the data in the $_POST and determines which other PHP program (beta.php, gamma.php, delta.php) is to receive the data as $_POST. In other words alpha.php is to act as an forwarding agent. There is no response required.

I cannot see how to have alpha.php send the data as a $_POST to the other php program and how to activate the other php programs to receive the data.

why use php for that? since this seems to be predetermined input, you can easily use jquery to load the appropriate page. but if you want to use php, look into if-else statements and header redirects.

Sponsor our Newsletter | Privacy Policy | Terms of Service