So wait, you want to send bitcoins to an address which then sends it to another address? You could just use the BlockChain.info API (but it will be send within 1 or 2 minutes):
<?php
$the_address_where_it_has_to_go = "somewhere";
$root_url = 'https://blockchain.info/api/receive';
$parameters = 'method=create&address=' . $the_address_where_it_has_to_go .'&shared=false';
$response = file_get_contents($root_url . '?' . $parameters);
$object = json_decode($response);
echo $object->input_address; //If you send BTC to this address, it will be send to the address set in $the_address_where_it_has_to_go
?>