<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="https://pflebit.de/lib/exe/css.php?s=feed" type="text/css"?>
<rss version="2.0">
    <channel xmlns:g="http://base.google.com/ns/1.0">
        <title>PflebIT - Pflegeinformatik in der Praxis - kb:s:0122:faq</title>
        <description></description>
        <link>https://pflebit.de/</link>
        <lastBuildDate>Fri, 24 Apr 2026 05:21:25 +0000</lastBuildDate>
        <generator>FeedCreator 1.8</generator>
        <image>
            <url>https://pflebit.de/lib/exe/fetch.php?media=wiki:logo.png</url>
            <title>PflebIT - Pflegeinformatik in der Praxis</title>
            <link>https://pflebit.de/</link>
        </image>
        <item>
            <title>PHP: Verzeichnisinhalt sortiert anzeigen</title>
            <link>https://pflebit.de/doku.php?id=kb:s:0122:faq:php-verzeichnisinhalt-sortiert-anzeigen</link>
            <description>
&lt;h1 class=&quot;sectionedit1&quot; id=&quot;phpverzeichnisinhalt_sortiert_anzeigen&quot;&gt;PHP: Verzeichnisinhalt sortiert anzeigen&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;
&lt;pre class=&quot;code php&quot;&gt;&lt;span class=&quot;kw2&quot;&gt;&amp;lt;?php&lt;/span&gt; 
&amp;nbsp;
  &lt;span class=&quot;re0&quot;&gt;$ordner&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st_h&quot;&gt;&#039;a/A-1-c-10-50-M1&#039;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt; &lt;span class=&quot;co1&quot;&gt;// Name des Ordners&lt;/span&gt;
  &lt;span class=&quot;re0&quot;&gt;$verz&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;a href=&quot;http://www.php.net/opendir&quot;&gt;&lt;span class=&quot;kw3&quot;&gt;opendir&lt;/span&gt;&lt;/a&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;re0&quot;&gt;$ordner&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt; &lt;span class=&quot;co1&quot;&gt;// öffnet Ordner&lt;/span&gt;
  &lt;span class=&quot;re0&quot;&gt;$verzarr&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;a href=&quot;http://www.php.net/array&quot;&gt;&lt;span class=&quot;kw3&quot;&gt;array&lt;/span&gt;&lt;/a&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt; &lt;span class=&quot;co1&quot;&gt;// initialisiert Array zum Aufnehmen der Dateinamen&lt;/span&gt;
&amp;nbsp;
    &lt;span class=&quot;kw1&quot;&gt;while&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;re0&quot;&gt;$file&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;a href=&quot;http://www.php.net/readdir&quot;&gt;&lt;span class=&quot;kw3&quot;&gt;readdir&lt;/span&gt;&lt;/a&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;re0&quot;&gt;$verz&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt; &lt;span class=&quot;co1&quot;&gt;// liest Verzeichnis in Schleife aus - alle Dateien und Ordner&lt;/span&gt;
   		&lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;re0&quot;&gt;$file&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;!=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;.&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;&amp;amp;&amp;amp;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;re0&quot;&gt;$file&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;!=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;..&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt; &lt;span class=&quot;co1&quot;&gt;// sorgt dafür, das . und .. nicht angezeigt werden&lt;/span&gt;
 		&lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;a href=&quot;http://www.php.net/is_file&quot;&gt;&lt;span class=&quot;kw3&quot;&gt;is_file&lt;/span&gt;&lt;/a&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;re0&quot;&gt;$ordner&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;/&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;re0&quot;&gt;$file&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt; &lt;span class=&quot;co1&quot;&gt;// prüft, ob es sich um eine Datei handelt, wenn ja, dann weiter&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;// 		if(is_dir($ordner.&amp;quot;/&amp;quot;.$file)){ // prüft, ob es sich um einen Ordner handelt, wenn ja, dann weiter - wird hier ausgeblendet&lt;/span&gt;
         	&lt;a href=&quot;http://www.php.net/array_push&quot;&gt;&lt;span class=&quot;kw3&quot;&gt;array_push&lt;/span&gt;&lt;/a&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;re0&quot;&gt;$verzarr&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;re0&quot;&gt;$file&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt; &lt;span class=&quot;co1&quot;&gt;// liest Dateien in Array ein&lt;/span&gt;
	    &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
	&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
	&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&amp;nbsp;
	&lt;span class=&quot;re0&quot;&gt;$verzeichnisse&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;a href=&quot;http://www.php.net/sort&quot;&gt;&lt;span class=&quot;kw3&quot;&gt;sort&lt;/span&gt;&lt;/a&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;re0&quot;&gt;$verzarr&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt; &lt;span class=&quot;co1&quot;&gt;// sortiert Verzeichnisinhalt alphabetisch&lt;/span&gt;
&amp;nbsp;
	&lt;span class=&quot;kw1&quot;&gt;foreach&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;re0&quot;&gt;$verzarr&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;as&lt;/span&gt; &lt;span class=&quot;re0&quot;&gt;$v&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;	
		&lt;span class=&quot;kw1&quot;&gt;echo&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&amp;lt;a href=&#039;http://www.andreas-heil.de/vs/qm/&lt;span class=&quot;es4&quot;&gt;$v&lt;/span&gt;&#039;&amp;gt;&lt;span class=&quot;es4&quot;&gt;$v&lt;/span&gt;&amp;lt;/a&amp;gt; &amp;lt;br&amp;gt;&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt; &lt;span class=&quot;co1&quot;&gt;// gibt Dateinamen in Liste aus und unterlegt diese mit einem Hyperlink&lt;/span&gt;
    &lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt; 
    &lt;a href=&quot;http://www.php.net/closedir&quot;&gt;&lt;span class=&quot;kw3&quot;&gt;closedir&lt;/span&gt;&lt;/a&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;re0&quot;&gt;$verz&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt; 
&lt;span class=&quot;sy1&quot;&gt;?&amp;gt;&lt;/span&gt; &lt;/pre&gt;

&lt;/div&gt;
</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Sun, 04 Apr 2021 15:58:08 +0000</pubDate>
        </item>
        <item>
            <title>Programmierung PHP - FAQ Allgemein</title>
            <link>https://pflebit.de/doku.php?id=kb:s:0122:faq:start</link>
            <description>
&lt;h1 class=&quot;sectionedit1&quot; id=&quot;programmierung_php_-_faq_allgemein&quot;&gt;Programmierung PHP - FAQ Allgemein&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;p&gt;
&lt;a href=&quot;https://pflebit.de/doku.php?id=kb:s:0122:faq:php-verzeichnisinhalt-sortiert-anzeigen&quot; class=&quot;wikilink1&quot; title=&quot;kb:s:0122:faq:php-verzeichnisinhalt-sortiert-anzeigen&quot; data-wiki-id=&quot;kb:s:0122:faq:php-verzeichnisinhalt-sortiert-anzeigen&quot;&gt;PHP: Verzeichnisinhalt sortiert anzeigen&lt;/a&gt;
&lt;/p&gt;

&lt;/div&gt;
</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Sun, 04 Apr 2021 15:58:22 +0000</pubDate>
        </item>
    </channel>
</rss>
