<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to Description</title><link>https://sourceforge.net/p/is-local-server/wiki/Description/</link><description>Recent changes to Description</description><atom:link href="https://sourceforge.net/p/is-local-server/wiki/Description/feed" rel="self"/><language>en</language><lastBuildDate>Mon, 08 Aug 2016 10:53:45 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/is-local-server/wiki/Description/feed" rel="self" type="application/rss+xml"/><item><title>Description modified by Fred Tempez</title><link>https://sourceforge.net/p/is-local-server/wiki/Description/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v2
+++ v3
@@ -32,7 +32,6 @@
 Use example :
 A web page is used as an image wall coming from ip cams. That page is running on a rapsberry on a local network. The raspberry can be access from outside of this network with a classic dynamic domain. This function helps to access to the control pages of the cams depending where you are viewing that page.

-The wiki uses [Markdown](/p/is-local-server/wiki/markdown_syntax/) syntax.

 [[members limit=20]]
 [[download_button]]
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Fred Tempez</dc:creator><pubDate>Mon, 08 Aug 2016 10:53:45 -0000</pubDate><guid>https://sourceforge.nete7cabcc345e318005b4c2f797b8f1bc635e794f4</guid></item><item><title>Description modified by Fred Tempez</title><link>https://sourceforge.net/p/is-local-server/wiki/Description/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v1
+++ v2
@@ -1,6 +1,36 @@
-Welcome to your wiki!
-
-This is the default page, edit it as you see fit. To add a new page simply reference it within brackets, e.g.: [SamplePage].
+Qu'est ce que c'est ?
+is_local_server est une fonction PHP destinée à identifier si une page web est exécutée depuis un réseau privé public en parsant l'adresse IP retournée par la fonction  $_SERVER["HTTP_HOST"]
+ 
+Usage :
+La fonction retourne 4 valeurs :
+X réseau public
+A réseau privé de classe A
+B réseau privé de classe B
+C réseau privé de classe C
+ 
+Exemple :
+Une page Web permet d'afficher un mur d'images provenant de caméras IP. la page Web est hébergée sur un raspberry d'un réseau local.
+Le raspberry est accessible à l'extérieur avec un domaine dynamique. Selon que l'on appelle la page de l'intérieur du réseau ou de l'extérieur, la fonction permet de personnaliser les liens donnant accès aux interfaces de gestion des caméras :
+ 
+$cam1="http://xx.ddns.net:8001";
+$cam2="http://xx.ddns.net:8000";
+ 
+ if (is_local_server()=="A")
+  {  $cam1="http://192.168.1.5";
+     $cam2="http://192.168.1.6";}
+ 
+ 
+What is it ?
+is_local_server is a php function that help to know if a web page is running from a private or public network parsing IP adress returned by functionn  $_SERVER["HTTP_HOST"]
+ 
+This function returns 4 values :
+X public network
+A private network A class
+B private network B class
+B private network C class
+ 
+Use example :
+A web page is used as an image wall coming from ip cams. That page is running on a rapsberry on a local network. The raspberry can be access from outside of this network with a classic dynamic domain. This function helps to access to the control pages of the cams depending where you are viewing that page.

 The wiki uses [Markdown](/p/is-local-server/wiki/markdown_syntax/) syntax.

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Fred Tempez</dc:creator><pubDate>Mon, 08 Aug 2016 10:43:41 -0000</pubDate><guid>https://sourceforge.net8fc85dfc969119287a13b1d6e9aa6e343c84c794</guid></item><item><title>Home modified by Fred Tempez</title><link>https://sourceforge.net/p/is-local-server/wiki/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Welcome to your wiki!&lt;/p&gt;
&lt;p&gt;This is the default page, edit it as you see fit. To add a new page simply reference it within brackets, e.g.: &lt;span&gt;[SamplePage]&lt;/span&gt;.&lt;/p&gt;
&lt;p&gt;The wiki uses &lt;a class="" href="/p/is-local-server/wiki/markdown_syntax/"&gt;Markdown&lt;/a&gt; syntax.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;h6&gt;Project Members:&lt;/h6&gt;
	&lt;ul class="md-users-list"&gt;
		&lt;li&gt;&lt;a href="/u/cybertaf/"&gt;Fred Tempez&lt;/a&gt; (admin)&lt;/li&gt;
		
	&lt;/ul&gt;&lt;br/&gt;
&lt;p&gt;&lt;span class="download-button-57a85f5d1be1ce3f0a78f969" style="margin-bottom: 1em; display: block;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Fred Tempez</dc:creator><pubDate>Mon, 08 Aug 2016 10:30:54 -0000</pubDate><guid>https://sourceforge.net8062660dd86769ebaf269fa0af42154f852ca86b</guid></item></channel></rss>