function pushWap ( $to, $from, $title, $url, $validity = 172800000 ) {

		// Making sure $title and $url are UTF-8 encoded
		if ( !mb_check_encoding($title, 'UTF-8') || !mb_check_encoding($url, 'UTF-8') ) {
			trigger_error('$title and $udh need to be valid UTF-8 encoded strings');
			return false;
		}
		
		// Make sure $from is valid
		$from = $this->validateOriginator($from);

		// Send away!
		$post = array(
			'from' => $from,
			'to' => $to,
			'type' => 'wappush',
			'url' => $url,
			'title' => $title,
			'validity' => $validity
		);
		return $this->sendRequest ( $post );
		
	}
function pushWap ( $to, $from, $title, $url, $validity = 172800000 ) {

		// Making sure $title and $url are UTF-8 encoded
		if ( !mb_check_encoding($title, 'UTF-8') || !mb_check_encoding($url, 'UTF-8') ) {
			trigger_error('$title and $udh need to be valid UTF-8 encoded strings');
			return false;
		}
		
		// Make sure $from is valid
		$from = $this->validateOriginator($from);

		// Send away!
		$post = array(
			'from' => $from,
			'to' => $to,
			'type' => 'wappush',
			'url' => $url,
			'title' => $title,
			'validity' => $validity
		);
		return $this->sendRequest ( $post );
		
	}
function pushWap ( $ to , $ from , $ title , $ url , $ validity = 172800000 ) { // Making sure $title and $url are UTF-8 encoded
 if ( ! mb_check_encoding ( $ title , 'UTF-8' ) || ! mb_check_encoding ( $ url , 'UTF-8' ) ) { trigger_error ( '$title and $udh need to be valid UTF-8 encoded strings' ) ; return false ; } // Make sure $from is valid
 $ from = $ this -> validateOriginator ( $ from ) ; // Send away!
 $ post = array ( 'from' => $ from , 'to' => $ to , 'type' => 'wappush' , 'url' => $ url , 'title' => $ title , 'validity' => $ validity ) ; return $ this -> sendRequest ( $ post ) ; }
Prepare new binary message.
Prepare new binary message .