Devam Ediyor

519954 php code to alphabetically list folder and subfolders

I need a simple php code to alphabetically list folders and subfolders of a directory on my website.

The website is php, mysql based.

I have the website on both my local machine and a remote server. On the local machine, I installed an Apache server using an older WinLamp 4.0.0 that has PHP 4.4.9, mysql [url removed, login to view], Apache [url removed, login to view]

The remote server has PHP 5 and mysql 5

I'm getting the Fatal error: Call to undefined function: scandir(), if I try to use that function on either the local machine or the remote server. So it would be easier just to leave that function out.

I've tried two simple php codes. The first one lists the folder and subfolder. It lists them alphabetically on the local machine, but does not list them alphabetically on the server.

I've tried another simple code that lists the folders alphabetically on both local and server, but only lists the main folder, and not subfolders.

I need a php code that does both, and I would like something I can just copy and paste into the page.

Regards,

Kevin

Beceriler: Her şey Kabul, Apache, Veri Girişi, MySQL, PHP

Daha fazlasını görün: php codes list, first code, code that, codes code, php fatal error, php codes website, copy code, fatal error php, php list directory, php directory copy, code function, mysql data directory, php copy directory, machine data entry, php folder list, copy paste 215, php directory list mysql, data entry folders, copy paste php, undefined error code, php code error, php simple codes, php directory list, php code function, php mysql entry

İşveren Hakkında:
( 7 değerlendirme ) Fort Worth, United States

Proje NO: #2265890

Seçilen:

alrazon

read your details and interested to work, thanks

1 gün içinde 20$ USD
(40 Değerlendirme)
5.3