PHP: Ausgabe von Ordnern und Dateien iterativ & rekursiv

Posted: Dezember 1st, 2008 | Filed under: Programmieren | Tags: , , , , , , | 7 Comments »

Habe mir vor einiger Zeit ein kleines Galerie Skript geschrieben, dabei habe ich des öfteren Funktionen gebraucht die mir den Inhalt eines Ordners ausgeben. Bei meiner Zusammenstellung gibt es sowohl iterative (ohne Unterordner) als auch rekursive(mit allen Unterordner und deren Unterordner usw…) Funktionen.

Iterativ

Rekursiv

Zu den Quellcodes gelangt ihr über die Links. Hier nochmal als Grafik die Mutter aller auslese Funktionen

scan_rekursiv_directories_and_files.php

Screenshot scan_rekursiv_directories_and_files.php

Screenshot scan_rekursiv_directories_and_files.php


7 Comments on “PHP: Ausgabe von Ordnern und Dateien iterativ & rekursiv”

  1. 1 sem said at 21:57 on November 23rd, 2013:

    Hi,
    kannst du mir sagen wie ich damit mehrere Dateien suchen kann, die einen ähnlichen Namen haben.

    Heist so viel wie, ich will damit rekursiv Dateien suchen von denen ich nur einen Teil des namens kenne.

    mfg
    sem

  2. 2 Lensamovie said at 13:45 on September 11th, 2020:

    Watch the Best Movie of All Time
    What film do you want in order to watch today?
    Sniper videos may be required upon your list. This is usually the most exciting shooting battle, where every sniper actions is always interesting
    to be able to watch.

  3. 3 bokep indo said at 20:58 on September 13th, 2020:

    Excellent, what a website it is! This weblog provides valuable facts
    to us, keep it up.

  4. 4 bandar-sbobet said at 03:38 on September 22nd, 2020:

    within acceptable limits and thank you for visiting online casino agents for Indonesia.
    Here we are here to present entrance for fans of sbobet
    casino who desire to member the international agent site Promosbobet.

    The products offered are enormously diverse and are completely the best choice.
    Derived from providers that have credibility and have been proven to have the best predicate in serving their customers.
    Providers later than Sbobet, Maxbet and many more.

    As the best online casino and soccer gambling site in Indonesia.

    We give maximum foster later than customer maintain that works online
    24 full hours all day. consequently members can action whenever and wherever without
    fearing to slope the possibility of difficulties or confusion.

  5. 5 72.52.193.34 said at 12:49 on Dezember 29th, 2020:

    Daftar Situs Judi Online Terbaik in Dalam negri
    Situsalternatif are a collection of provides of the best
    online gambling internet sites from all recognized bookies
    / brokers in Indonesia. Home elevators online gambling websites
    listed on this particular page is always altering, because we just provide sites that will get good reviews.
    Each site provides some informative regarding the games accessible, deposit transaction options,
    and alternative hyperlinks.

    Collection of Situs Alternatif and Daftar Taruhan online Terbaik
    Enjoying on gambling sites is just not completely
    clean, among the problems frequently through players will be difficulty accessing the site best places to perform due to internet site blocking.
    Therefore, the choice Site collects alternate links here which often are
    very useful in order to help gamblers to easily login plus daftar judi online.
    Inside addition, you may need to bother about the link jalan keluar
    judi that we all provide, needless to say you can access this easily and with
    regard to free.

  6. 6 Promosbobet said at 23:29 on Januar 3rd, 2021:

    Any of these sites that provides the particular best gambling online game services in Philippines is Promosbobet.
    On the internet bookie sites that provides immediate access from home via the particular internet network plus will be
    a great alternative to increase bettors‘ income without spending a lot regarding capital.

    Imagine, with only relatively cost-effective capital, members could play the most exciting betting games that will members want these
    kinds of as soccer betting, online casino, or real money online slot machines, not to mention get the particular financial benefits of which
    members need. Every thing a member can perform just by getting the official member of the best
    and many trusted online bookmaker site Promosbobet.

    The Biggest Online Gambling Promotional
    Bettors can obtain various types regarding benefits by getting a
    member associated with the Promosbobet betting site.
    This internet site always provides amazing promotions for new customers and loyal clients who have picked Promosbobet as a new
    betting partner with regard to years.

    Deposit Added bonus – the 1st bonus that a
    new member could possibly get by simply becoming a fellow member of Promosbobet will be
    when the member makes a down payment using a minimum regarding IDR 100, 000 only!
    Bettors may get bonuses of up to almost 2 million rupiah.

    Winning Bonus – just by simply playing online football gambling
    that an individual want or enjoying the fun plus challenges of shooting fish
    games, a person have a chance to win a winning bonus of upwards to 50%.

    Procuring and Rebate Added bonus – by working together with Sbobet and
    Maxbet, Mabosbet gives an individual the chance to get an immediate 5% cashback and 75% rebate!

  7. 7 agen-338a.com said at 02:14 on März 22nd, 2021:

    THE BEST AND RELIABLE SGD777 JUDI BANDAR

    Agen-338a is an online bookie that works officially with the sbobet provider.

    Agen-338a has served gambling members from the year
    2010 until now and it has never given frustration in phrases of sbobet login. We have
    been also one of the sbobet providers who have received several awards
    and have now become the number just one site in Dalam negri.
    Our company is also a site that is visited completely from the official
    sbobet supplier to be vested with marketing soccer gambling products, internet casinos, slots, shooting species of fish, etc.
    for the Indonesian community. Every single day there
    are more than 10, 000 members who positively play on our official site and supply reviews
    that are incredibly satisfied choosing us all as the partner agent.
    Our brand searches also surpass 10, 000 lookups per day and we are a 24/7 service site.

    Just how to Register a Sbobet Account
    We provide official sbobet bank account registration for all members
    who want to join with no fees or requirements. We also confirm the
    simplicity in the sbobet list, because to complete
    the sbobet account sign up process, only affirmation is required that you
    are 18+ and have a local lender to make transactions. Register for
    sbobet can be through the registration form on the state website
    of Agen-338a or through our customer service who is willing
    to help you anytime. After filling in the registration form,
    the member just needs to activate the ID with affirmation via our cs.


Leave a Reply