List Directory Contents via php
List of files:
- wp
- blank.html
- form-login-simple.html
- arrays-defining-loops-through-multidimensional-arrays.php
- list-directory
- file-uploads.php
- myblockchecker
- get-http-referer.php
- composer
- email.html
- jsonphp.php
- example.gvoicesms.send.php
- display-php-server-info.html
- image-sharing
- quizscript
- get-files-by-ext.php
- uploads.php
- google-weather.php
- php-arrays.html
- decorator-design-pattern.html
- populate-and-display-table-with-mysql
- podcast-feed
- form-validation-demo.html
- mermaid-download-img-remotely.php
- membership-system
- hex-inverse-color.php
- membership-system-2
- media-alchemyst
- ads
- class.xhttp.php
- remote-download
- convert-address-to-lat-lon.php
- calculate-distances.php
- blank02.html
- scrape
- get-absolute-file-path.php
- codeigniter
- output-php-to-browser-console.html
- functions.php
- wordpress.html
- calculate-paypal-fees.php
- cwc-radio-player
- php-debugbar
- zipped
- detect-user-language-code.php
- tabletocsv
- ajax
- json_decode.php
- embed-custom-fonts
- codeigniter-datagrid
- detect-iphone-browser.html
- switch.php
- piwik
- wurfl
- i
- get-loadtime.php
- dirlisting
- cal
- append-letters-to-end-of-a-number.html
- page-caching.php
- convert-jpeg-image-into-ascii-code.php
- redirect.php
- hex-to-rgb-conversion.php
- php.info.html
- singleton-creational-design-pattern.html
- curl.html
- checkmyip
- write-to-text-file
- form-handling.html
- get-images
- basic-parsing.php
- simplehtmldom
- better-caching.html
- jquery-parse-xml
- where-on-earth-are-you.html
- download-img-remotely.php
- mysql
- save-url-as-jpeg-or-pdf.php
- exif
- php-snippets.html
- color-array.php
- get-http-referee.php
- command-behavioral-design-pattern.php
- phpexcel-develop
- form
- arrays-json-and-js.php
- arrays.php
- site-counter
- pdfparser
- .manifest
- number-of retweets.php
- calculate-age-of-a-person-using-date-of-birth.php
- php-remote-images-xl.html
- img-rotator
- better-caching.php
- randomquotes
- geocoder-php
- phpcolors
- extract-zip.php
- php-school-explorer
- date-and-time-formats.html
- lib
- list-directory.php
- image-uploader.html
- simplepie
- sms
- email-script-simple.html
- get-tiny-url.php
- php-remote-images.html
- phpinfo.html
- opml
- date-and-time-formatstrash.html
- manual
- get-ip-address.php
- arrays-examples.php
- img-rotator.php
- display-directory-contents
- download
- list-directory-alt.php
- get-lat-lon-from-address.php
- get-user-agent.php
- tinyurl
- json_decode-example.json
- unzipped
- remotely-downloaded-test.php
- img-info.html
- calendar-ajax
wp blank.html form-login-simple.html arrays-defining-loops-through-multidimensional-arrays.php list-directory file-uploads.php myblockchecker get-http-referer.php composer email.html jsonphp.php example.gvoicesms.send.php display-php-server-info.html image-sharing quizscript get-files-by-ext.php uploads.php google-weather.php php-arrays.html decorator-design-pattern.html populate-and-display-table-with-mysql podcast-feed form-validation-demo.html mermaid-download-img-remotely.php membership-system hex-inverse-color.php membership-system-2 media-alchemyst ads class.xhttp.php remote-download convert-address-to-lat-lon.php calculate-distances.php blank02.html scrape get-absolute-file-path.php codeigniter output-php-to-browser-console.html functions.php wordpress.html calculate-paypal-fees.php cwc-radio-player php-debugbar zipped detect-user-language-code.php tabletocsv ajax json_decode.php embed-custom-fonts codeigniter-datagrid detect-iphone-browser.html switch.php piwik wurfl i get-loadtime.php dirlisting cal append-letters-to-end-of-a-number.html page-caching.php convert-jpeg-image-into-ascii-code.php redirect.php hex-to-rgb-conversion.php php.info.html singleton-creational-design-pattern.html curl.html checkmyip write-to-text-file form-handling.html get-images basic-parsing.php simplehtmldom better-caching.html jquery-parse-xml where-on-earth-are-you.html download-img-remotely.php mysql save-url-as-jpeg-or-pdf.php exif php-snippets.html color-array.php get-http-referee.php command-behavioral-design-pattern.php phpexcel-develop form arrays-json-and-js.php arrays.php site-counter pdfparser .manifest number-of retweets.php calculate-age-of-a-person-using-date-of-birth.php php-remote-images-xl.html img-rotator better-caching.php randomquotes geocoder-php phpcolors extract-zip.php php-school-explorer date-and-time-formats.html lib list-directory.php image-uploader.html simplepie sms email-script-simple.html get-tiny-url.php php-remote-images.html phpinfo.html opml date-and-time-formatstrash.html manual get-ip-address.php arrays-examples.php img-rotator.php display-directory-contents download list-directory-alt.php get-lat-lon-from-address.php get-user-agent.php tinyurl json_decode-example.json unzipped remotely-downloaded-test.php img-info.html calendar-ajax
<?php
echo "<h1>List Directory Contents via <abbr title=\"HyperText PreProcessor\">php</abbr></h1>";
if ($handle = opendir('.')) {
while (false !== ($file = readdir($handle)))
{
if ($file != "." && $file != "..")
{
$thelist .= '<li><a href="'.$file.'">'.$file.'</a></li>';
}
}
closedir($handle);
} ?>
<p>List of files:</p>
<ul>
<? echo $thelist; ?>
</ul>