Code solutions to PHP, JS, CSS

Spread your code soluces to the world

Love me

Search results for : folders    (2)

Simple method : listing files from a directory (php)

Here's my simple method for listing files from a directory. In this example I added the natural sort and the file sizes in KB to show how to combine tables and serialized values.
solucior.com/8-Simple_method___listing_files_from_a_directory.html

Create virtual folders using htaccess (htaccess)

These 3 lines of code for .htaccess create virtual folders. An URL like www.mywebsite.com/virtual_folder/home.html will be understood by the server as www.mywebsite.com/index.php?dir=virtual_folder&page=home
solucior.com/7-Create_virtual_folders_using_htaccess.html