Permalink
Browse files

Added some comments to the configuration parameters.

  • Loading branch information...
1 parent 7e3c0a2 commit 293a89ed4f9d15321a57146bafe69ae2c903a17c @mibe mibe committed May 16, 2011
Showing with 12 additions and 6 deletions.
  1. +12 −6 php-ddns-client.php
View
@@ -5,7 +5,6 @@
* provider.
*/
-
/*
* Copyright (C) 2011 Michael Bemmerl
*
@@ -22,10 +21,17 @@
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-$user = 'test';
-$pass = 'test';
-$hosts[] = 'test.mine.nu';
-$force = FALSE;
+/* Start of configuration area */
+
+$user = 'test'; // Your DDNS username
+$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()
{
@@ -112,4 +118,4 @@ function ddns_error($message, $die = TRUE)
print 'not neccessary';
print PHP_EOL;
-}
+}

0 comments on commit 293a89e

Please sign in to comment.