src/Net/API/Dyn.php
public function update( $username, $password, $host, $ip ){
		if( (int) $this->lastCheck > 0 && time() - $this->lastCheck < 10 * 60 )
			return "noop";
		$url	= "http://%s:%s@members.dyndns.org/nic/update?hostname=%s&myip=%s&wildcard=NOCHG&mx=NOCHG&backmx=NOCHG";
		$url	= sprintf( $url, $username, $password, $host, $ip );
		$this->reader->setUrl( $url );
		$parts	= explode( " ", $this->reader->read() );
		return array_shift( $parts );
	}
public function update( $username, $password, $host, $ip ){
		if( (int) $this->lastCheck > 0 && time() - $this->lastCheck < 10 * 60 )
			return "noop";
		$url	= "http://%s:%s@members.dyndns.org/nic/update?hostname=%s&myip=%s&wildcard=NOCHG&mx=NOCHG&backmx=NOCHG";
		$url	= sprintf( $url, $username, $password, $host, $ip );
		$this->reader->setUrl( $url );
		$parts	= explode( " ", $this->reader->read() );
		return array_shift( $parts );
	}
public function update ( $ username , $ password , $ host , $ ip ) { if ( ( int ) $ this -> lastCheck > 0 && time ( ) - $ this -> lastCheck < 10 * 60 ) return "noop" ; $ url = "http://%s:%s@members.dyndns.org/nic/update?hostname=%s&myip=%s&wildcard=NOCHG&mx=NOCHG&backmx=NOCHG" ; $ url = sprintf ( $ url , $ username , $ password , $ host , $ ip ) ; $ this -> reader -> setUrl ( $ url ) ; $ parts = explode ( " " , $ this -> reader -> read ( ) ) ; return array_shift ( $ parts ) ; }
Updates IP of host registered by Dyn.
@access		public
@param		string		$username		Dyn user name
@param		string		$password		Dyn user password
@param		string		$host			Dyn registered host
@param		string		$ip				Ip address to set for host
@return		string		Update code string returned by Dyn service
Updates IP of host registered by Dyn .