Code solutions to PHP, JS, CSS

Spread your code soluces to the world

Love me

Search results for : directory    (4)

Simple image gallery PHP (php)

The following code is an image gallery script in PHP as easy as possible. A single file of a few lines of code is sufficient to list the images, create thumbnails and display them. Copy the entire code into a PHP file. Name it as you wish and drop it in a directory containing images. For reasons of simplicity, this code has no error handling....
solucior.com/17-Simple_image_gallery_PHP.html

Make dir and upload files via FTP (php)

These two functions simplify the creating directory and files upload by FTP in PHP.
solucior.com/10-Make_dir_and_upload_files_via_FTP.html

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