From d5a1bb85c16e14dd7ea14bee393d769eeef11544 Mon Sep 17 00:00:00 2001 From: wimpunk Date: Mon, 26 Feb 2007 21:21:26 +0000 Subject: [PATCH] Added a faq git-svn-id: svn+ssh://svn.code.sf.net/p/ddclient/code/trunk@45 3873ddee-7413-0410-b6c4-c2c57c1ab35a --- html/faq.php | 42 ++++++++++++++++++++++++++++++++++++++++++ html/index.php | 7 ++++++- 2 files changed, 48 insertions(+), 1 deletion(-) create mode 100644 html/faq.php diff --git a/html/faq.php b/html/faq.php new file mode 100644 index 0000000..2a3ef16 --- /dev/null +++ b/html/faq.php @@ -0,0 +1,42 @@ + + Ddclient doesn't check the dns result when it tries to update. + It checks its cache file an when value saved in the cache + differs from the result it got, it does an update. So if + you want to force an update, you could do it this way: + + This way, ddclient changes its cache and will see an changed IP + adres. +

\n"; + $main[] = $text; +/* + $text['id'] = "nonrouter"; + $text['title'] = "Non router option"; + $text['menu'] = "Non router"; + $text['body'] = + "" . + "\n" . + "" . + "\n" . + "" . + "" . + "
-use=web obtain IP from an IP discovery page on the web. This is the default way if none is specified
-use=if obtain IP from the -if {interface}.
-use=ip obtain IP from -ip {address}.
-use=cmd obtain IP from the -cmd {external-command}.
-use=fw obtain IP from the firewall specified by -fw {type|address}.
"; + $main[] = $text; +*/ +?> diff --git a/html/index.php b/html/index.php index 4d2aff0..ef78dc8 100644 --- a/html/index.php +++ b/html/index.php @@ -43,7 +43,8 @@ define('HOME', 0); define('USAGE', 1); define('PROTOCOL',2); define('ROUTER', 3); -define('XML', 4); +define('FAQ', 4); +define('XML', 5); // main $pages[HOME]['nr'] = HOME; @@ -63,6 +64,10 @@ $pages[ROUTER]['nr'] = ROUTER; $pages[ROUTER]['title'] = "supported routers"; $pages[ROUTER]['php'] = "router.php"; +$pages[FAQ]['nr'] = FAQ; +$pages[FAQ]['title'] = "faq"; +$pages[FAQ]['php'] = "faq.php"; + if ($debug) { $pages[XML]['nr'] = XML; $pages[XML]['title'] = "xml";