You can use two methods:
If the only result of the landing page is a description, then you can use
$description = file_get_contents("http://target.page?ip=xxx.xxx.xxx.xxx");
If not, you can use curl, for example:
// Create Post Information $vars = array( 'ip'=>'xxx.xxx.xxx.xxx', 'some_other_info'=>'xxx' ); // urlencode the information if needed $urlencoded = http_build_query($vars); if( function_exists( "curl_init" )) { $CR = curl_init(); curl_setopt($CR, CURLOPT_URL, 'http://distantpage'); curl_setopt($CR, CURLOPT_POST, 1); curl_setopt($CR, CURLOPT_FAILONERROR, true); curl_setopt($CR, CURLOPT_POSTFIELDS, $urlencoded ); curl_setopt($CR, CURLOPT_RETURNTRANSFER, 1); curl_setopt($CR, CURLOPT_SSL_VERIFYPEER, 0); curl_setopt($CR, CURLOPT_FAILONERROR,true); $result = curl_exec( $CR ); $error = curl_error ( $CR ); // if there error if( !empty( $error )) { echo $error; return; } curl_close( $CR ); } parse_str($result, $output); echo $output['description']; // get description
user2050393
source share