PHP code example of z38 / dynamicdns

1. Go to this page and download the library: Download z38/dynamicdns library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

z38 / dynamicdns example snippets




 = 'yourhostname.ddns.net';
$ip = '173.194.66.100';
$credentials = array(
    'username' => 'foo',
    'password' => 'bar'
);

$provider = new Z38\DynamicDns\Provider\NoIp();
$provider->update($host, $ip, $credentials);