Skip to content

Commit

Permalink
Added some comments to the configuration parameters.
Browse files Browse the repository at this point in the history
  • Loading branch information
mibe committed May 16, 2011
1 parent 7e3c0a2 commit 293a89e
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions php-ddns-client.php
Expand Up @@ -5,7 +5,6 @@
* provider. * provider.
*/ */



/* /*
* Copyright (C) 2011 Michael Bemmerl * Copyright (C) 2011 Michael Bemmerl
* *
Expand All @@ -22,10 +21,17 @@
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/ */


$user = 'test'; /* Start of configuration area */
$pass = 'test';
$hosts[] = 'test.mine.nu'; $user = 'test'; // Your DDNS username
$force = FALSE; $pass = 'test'; // Your DDNS password

$hosts[] = 'test.mine.nu'; // The hosts you want to update
//$hosts[] = 'another-host.dyndns.org';

$force = FALSE; // Set to TRUE if you want to force an update

/* End of configuration area */


function ddns_get_ipaddress() function ddns_get_ipaddress()
{ {
Expand Down Expand Up @@ -112,4 +118,4 @@ function ddns_error($message, $die = TRUE)
print 'not neccessary'; print 'not neccessary';


print PHP_EOL; print PHP_EOL;
} }

0 comments on commit 293a89e

Please sign in to comment.